Re: mysql_query won't work!!!

From: Date: Thu, 15 Apr 2004 17:59:05 +0000
Subject: Re: mysql_query won't work!!!
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-183517@lists.php.net to get a copy of this message
Jeff Ostapchuk wrote:
ok, this same query, works EVERYWHERE ELSE, why won't it work now? it returns to me: Warning: Supplied argument is not a valid MySQL result resource $query_result = mysql_query("SELECT * FROM AotH_Users"); while ($row = mysql_fetch_array($query_result, MYSQL_NUM)){
Why don't you echo out mysql_error()? -- *********************************************************************** * _ __ __ __ _ * John Nichel * * | |/ /___ __ \ \ / /__ _ _| |__ ___ __ ___ _ __ * 716.856.9675 * * | ' </ -_) _` \ \/\/ / _ \ '_| / /(_-<_/ _/ _ \ ' \ * 737 Main St. * * |_|\_\___\__, |\_/\_/\___/_| |_\_\/__(_)__\___/_|_|_|* Suite #150 * * |___/ * Buffalo, NY * * http://www.KegWorks.com john@KegWorks.com * 14203 - 1321 * ***********************************************************************

« previous php.general (#183517) next »