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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

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-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 05:01:29 2024 UTC