|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 10:00:02 2025 UTC |
sorry, but i was too mad to notice. let me rephrase the whole thing. After i upgrade php from 4.04p1 to 4.05 at WinNT machine, i couldn't get mysql query working at all. Technically, they all work, just i don't get any result back. example: <? echo "DATABASE: Healthy<BR>"; $query="select * from MEMBER"; $ident = mysql_connect("Kim","root","") or die("Bad query: ".mysql_error()); mysql_select_db("healthy"); $restult=mysql_db_query("healthy",$query); while ($row=mysql_fetch_array($result)) echo $row["serial"]; ?> and the result i got is: DATABASE: Healthy Warning: Supplied argument is not a valid MySQL result resource in d:\www\test\php\db.php on line 13 i can assure you that the member table is not empty. i have tried re-install php and apache, but they still don't work as they should.