Bug #1118: MySql fails to work with mod_auth_mysql
| From: | mark-junk at domino dot com | Date: | Thu, 04 Feb 1999 10:41:26 +0000 |
| Subject: | Bug #1118: MySql fails to work with mod_auth_mysql | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-3881@lists.php.net to get a copy of this message | ||
From: mark-junk@domino.com
Operating system: Solaris 2.6
PHP version: 3.0.6
PHP Bug Type: MySQL related
Bug description: MySql fails to work with mod_auth_mysql
$conn = mysql_connect();
mysql_select_db("test"); // this database exists and can be opened using mysql
interactively
$result = mysql_query("select * from mysql_auth"); // this query works interactively
echo "result=$result<BR>"; // echoes "result=<BR>"
echo(mysql_error()); // echoes nothing
while($row = mysql_fetch_object($result)) { // gives a warning : 0 is not a MySQL result index in
/export/htdocs/mark/extranet/users.php3 on line 15
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net