RE: [PHP] broken code....

From: Date: Thu, 08 Dec 2005 21:52:09 +0000
Subject: RE: [PHP] broken code....
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-227156@lists.php.net to get a copy of this message
Good catch: So I normally do $results =& $db->query ( "SELECT * FROM table" ); What is the difference between using the & and not using the &. -----Original Message----- From: Ben Blay [mailto:benblay@gmail.com] Sent: Thursday, December 08, 2005 10:27 AM To: php-general@lists.php.net Subject: Re: [PHP] broken code.... > $results->query('select * from eternityrecords.journal'); Should this not be: $results = $db->query('select * from eternityrecords.journal'); See: http://pear.php.net/manual/en/package.database.db.db-result.fetchinto.php Ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#227156) next »