View Single Post
  #8 (permalink)  
Old 08-21-08, 05:01 AM
UnrealEd's Avatar
UnrealEd UnrealEd is offline
Community Liaison
 
Join Date: May 2005
Location: Antwerp, Belgium
Posts: 3,165
Thanks: 4
Thanked 25 Times in 25 Posts
since nothing is getting outputted in your table it either means an error occured in one of your queries, or an error occured during the parsing of the php page (when the display_errors settings is off).

Add this line at the end of each mysql_query call, and tell us what you see:
PHP Code:

 or die (mysql_error ()); 

make sure you remove the ; at the end of the line first.

Place this code snippet on top of the page:
PHP Code:

error_reporting (E_ALL E_STRICT); // remove the "| E_STRICT" part when your php version is 5-
ini_set ('display_errors'1); 
Now you should get a clear error-output when an error occures. If still nothing is printed, there's probably something wrong in your query that's causing the database to select not a single row (no error, just a logical error).
__________________
"Good judgement comes from experience, and experience comes from bad judgement." - Fred Brooks

Reply With Quote