note 35877 added to function.mysql-result

From: Date: Wed, 17 Sep 2003 21:34:47 +0000
Subject: note 35877 added to function.mysql-result
Groups: php.notes 
Request: Send a blank email to php-notes+get-56657@lists.php.net to get a copy of this message
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 ---- Manual Page -- http://www.php.net/manual/en/function.mysql-result.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+35877 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+35877&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+35877&report=yes

« previous php.notes (#56657) next »