php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4356
Submitted: 2000-05-09 11:08 UTC Modified: 2000-05-21 17:11 UTC
From: mutheos at yahoo dot com Assigned:
Status: Closed Package: MySQL related
PHP Version: 4.0 Release Candidate 1 OS: linux
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: mutheos at yahoo dot com
New email:
PHP Version: OS:

 

 [2000-05-09 11:08 UTC] mutheos at yahoo dot com
Warning: Supplied argument is not a valid MySQL-Link resource in /home/ucpress/public_html/poll/poll_act.html on line 14

line 14 : 

12 : $clicked = "v" . $choice;
13 : $query = "update poll set $clicked = $clicked + 1 where code = '$code'";
14 : $result = mysql_query($query,$connect);
15 : echo $query;
16 : if(!$result) {
17 :   error("QUERY_ERROR");
18 :   exit;
19 :}

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-05-21 17:11 UTC] jimw at cvs dot php dot net
looks like the connection to the mysql database is failing in a part
of the script not provided.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 01 17:01:34 2025 UTC