PHP 4.0 Bug #4356:
| From: | mutheos at yahoo dot com | Date: | Tue, 09 May 2000 15:08:17 +0000 |
| Subject: | PHP 4.0 Bug #4356: | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-18537@lists.php.net to get a copy of this message | ||
From: mutheos@yahoo.com
Operating system: linux
PHP version: 4.0 Release Candidate 1
PHP Bug Type: MySQL related
Bug description:
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 :}