View Single Post
Old 01-13-2008, 05:16 PM   #2 (permalink)
Alan @ CIT
Member of the Month
The Frequenter
Member of the Month Top Contributor 
 
Alan @ CIT's Avatar
 
Join Date: Apr 2005
Location: South UK
Posts: 483
Thanks: 51
Alan @ CIT is on a distinguished road
Default

Hi Gareth,

Try changing your "Forum cannot be updated" error text to echo mysql_error() instead. That may give some clues as to why it isn't updating.

A handy trick when debugging these sorts of mysql problems is to do the following:

PHP Code:
$something mysql_query("your query here..") or die(mysql_error()); 
That will stop the script and show the mysql error message in the event that the query fails. Shouldn't be used in a live enviroment for it's handy for debugging :)

Alan.
Send a message via MSN to Alan @ CIT
Alan @ CIT is offline  
Reply With Quote