Forum Moderators: coopster
am banging my head over this, previously they were showing, however now they are not, if there is a mysql error the page is returned blank by the browser!
php error messages are shown in the browser no problem
perhaps i've inadvertantly changed a setting but i cannot think what!
any ideas?
thanks
Try checking your error_log, and make a habit of using this instead of looking for on-page errors if you can.
e.g. something like
$result = @mysql_query("SELECT date, id')
Check your php / httpd error log as blank pages are usually due to php not being able to complete.
Another gotcha to watch out for is the @mysql... The @ symbol will suppress on screen error reporting. Try
$result = mysql_query("SELECT date
$result = mysql_query($query) or die(mysql_error());
Obviously you should not leave this in there for a production site.