Thread: PHP Question
View Single Post
Old 02-28-2004, 11:45 AM  
swedguy
Confirmed User
 
Industry Role:
Join Date: Jan 2002
Posts: 7,981
If you only wanna suppress the PHP error messages (which is good on a live website). Add this to the top of your page:

ini_set("display_errors", 0);
swedguy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote