Jump to content

[SOLVED] supplied argument is not a valid MySQL result resource


mbrown

Recommended Posts

		$result = mysql_query($Query, $db);
		$WASD = mysql_fetch_assoc($result);

 

Error Messages for the Above Code: Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\seniorProject\administration\showEquipmentData.php on line 141

 

			$numRows = mysql_num_rows($result);
			if ($numRows <= 0)

 

Gives the following error: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\seniorProject\administration\showEquipmentData.php on line 162

 

I am going to still mess around and research some to see if ic an find a solution. If anyone else knows what it is please let me know please.

 

Thanks

[/code]

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.