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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: hendro at torche-indonesia dot net
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 02:01:28 2024 UTC