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
 [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-2024 The PHP Group
All rights reserved.
Last updated: Fri Oct 18 03:01:27 2024 UTC