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 this is not your bug, you can add a comment by following this link.
If this is your bug, but 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

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-2023 The PHP Group
All rights reserved.
Last updated: Wed Feb 01 20:04:13 2023 UTC