php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14332 1 is not a valid MySQL-Link resource in /home/guestbook.php on line 112
Submitted: 2001-12-03 18:25 UTC Modified: 2001-12-03 18:29 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (100.0%)
From: hendro at torche-indonesia dot net Assigned:
Status: Not a bug Package: MySQL related
PHP Version: 4.0CVS-2001-12-03 OS: MS Windows 98
Private report: No CVE-ID: None
 [2001-12-03 18:25 UTC] hendro at torche-indonesia dot 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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-12-03 18:29 UTC] mfischer@php.net
This is not a support forum.

Ask such questions at php-general@lists.php.net

Bogus.
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Tue Aug 16 09:05:44 2022 UTC