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
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: 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

Add a Patch

Pull Requests

Add a Pull Request

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 Apr 19 11:01:28 2024 UTC