|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2000-07-19 17:12 UTC] coolio at mdq dot com
I have PHP 4.0.1pl2 compiled as a CGI on my Solaris. I use MySQL 3.22.32 The script fails only sometimes. I run the script and works fine... 1 minute later, I run the script again and it fails... maybe later fails again.. or maybe not... It?s not a script problem... it seems like a PHP or MySQL problem... PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 10 06:00:02 2025 UTC |
I have the same problem, mysql_num_rows just doesnt work! it is saying that (line 8) $check1= mysql_query("select id from users where user='$user'") or die("Bad query1: ".mysql_error()); (line 9) $check1= mysql_num_rows($check1) or die("Bad query2: ".mysql_error()); when run it is coming up with: Bad query2: and thats it. COuld someone please get back to me on what the problem is and how i could fix it if i can, thanx