Not a valid RESOURCE??..help please!

From: Date: Wed, 17 Oct 2001 00:07:19 +0000
Subject: Not a valid RESOURCE??..help please!
Groups: php.general 
Request: Send a blank email to php-general+get-71276@lists.php.net to get a copy of this message
include("/home/fplg/db/db_config.php"); $conn = db_connect("fplg"); $pic_query = "SELECT picid,path,width,height FROM pics WHERE id = '".$id."'"; echo $pic_query; $pic_result = mysql_query($pic_query,$conn); echo "pic result complete"; while($pic_data = mysql_fetch_array($pic_result)) { ?> can someone give me any hint as to what may be wrong with this...it's telling me that the line inside the while loop condition is not a valid resources(note: i tried this without the loop with the same problem)...what's wrong?? chris

« previous php.general (#71276) next »