Re: More help with mysql

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Supplied argument is not a valid MySQL result resource.
This is absolutely correct because after
$result = mysql_query("SELECT * FROM SOME_TABLE") || die(mysql_error());

variable $result contains result of boolean "OR" operation which in your
case is TRUE or 1
in order to get valid MySQL result you should use

$result = mysql_query("SELECT * FROM SOME_TABLE");

Best regards
Sasha
sasha@IslandJeep.com



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux