Re: Supplied argument is not a valid MySQL result resource

From: Date: Tue, 08 Jan 2002 17:11:07 +0000
Subject: Re: Supplied argument is not a valid MySQL result resource
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-79803@lists.php.net to get a copy of this message
Hi Dan, > $parent_sql = "SELECT * FROM categories ORDER BY sort_order ASC"; > $parent_result = mysql_query($parent_sql); change the line to this one and run it again to see the error: $parent_result = mysql_query($parent_sql) or die(mysql_error()); -- Jimmy ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Brain off-line, please wait.

« previous php.general (#79803) next »