note 35877 rejected from function.mysql-result by pollita

From: Date: Wed, 17 Sep 2003 22:04:09 +0000
Subject: note 35877 rejected from function.mysql-result by pollita
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-56661@lists.php.net to get a copy of this message
Note Submitter: james AT jcitc DoT com ---- I think that in example 1 above the code should be: <?php $result = mysql_query("SELECT name FROM work.employee") or die("Could not query: ". mysql_error()); ?> ie. with the extra " after `query: ' (just something that might kill the copy and pasting newbies) J

« previous php.notes (#56661) next »