note 40741 added to function.mysql-query
| From: | buddy at goodlearning dot com | Date: | Fri, 12 Mar 2004 17:19:34 +0000 |
| Subject: | note 40741 added to function.mysql-query | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-66744@lists.php.net to get a copy of this message | ||
You had:
mysql_query($result, $dbase) or die (mysql_error());
$result= mysql_query("SELECT * FROM tblCategory");
Instead try:
$result = mysql_query("SELECT * FROM tblCategory", $dbase) or die (mysql_error());
----
Manual Page -- http://www.php.net/manual/en/function.mysql-query.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+40741
Delete -- http://master.php.net/manage/user-notes.php?action=delete+40741&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+40741&report=yes
Search -- http://master.php.net/manage/user-notes.php