Bug #14332 Updated: 1 is not a valid MySQL-Link resource in /home/guestbook.php on line 112
| From: | mfischer@php.net | Date: | Mon, 03 Dec 2001 23:29:26 +0000 |
| Subject: | Bug #14332 Updated: 1 is not a valid MySQL-Link resource in /home/guestbook.php on line 112 | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-72409@lists.php.net to get a copy of this message | ||
ID: 14332
Updated by: mfischer
Reported By: hendro@torche-indonesia.net
Old Status: Open
Status: Bogus
Bug Type: MySQL related
Operating System: MS Windows 98
PHP Version: 4.0CVS-2001-12-03
New Comment:
This is not a support forum.
Ask such questions at php-general@lists.php.net
Bogus.
Previous Comments:
------------------------------------------------------------------------
[2001-12-03 18:25:28] hendro@torche-indonesia.net
any one here can help my problem?
(I 'am using hypermart.net hosting, so i am not sure which php version that they provided)
$sqlshow = "SELECT * FROM $table ORDER BY id DESC LIMIT $show, $maxshow";
$result = mysql_db_query($database, $sqlshow);
>>> produce: 1 is not a valid MySQL-Link resource in /home/guestbook.php on line 112
while (($myrow = mysql_fetch_array($result)))
>>> produce: Supplied argument is not a valid MySQL result resource in /home/guestbook.php
>>> on line 116
mysql_close();
>>> produce: 1 is not a valid MySQL-Link resource in /home/guestbook.php on line 126
thanks.
hendro.
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=14332&edit=1