laavanya14 Posted April 15, 2006 Share Posted April 15, 2006 Hi Guys,How do I off the php warning message from being displayed?thank you very much. Quote Link to comment https://forums.phpfreaks.com/topic/7492-solved-off-php-warning-message/ Share on other sites More sharing options...
wildteen88 Posted April 15, 2006 Share Posted April 15, 2006 If you are getting warning messages then you will want to get them sorted out otherwise you script will not work as you expect it to.If you want to turn your errors off you'll need to access to your php.ini file and turn [b]display_errors[/b] (located near line 357) to Off. Quote Link to comment https://forums.phpfreaks.com/topic/7492-solved-off-php-warning-message/#findComment-27288 Share on other sites More sharing options...
laavanya14 Posted April 15, 2006 Author Share Posted April 15, 2006 [!--quoteo(post=365118:date=Apr 15 2006, 12:14 PM:name=wildteen88)--][div class=\'quotetop\']QUOTE(wildteen88 @ Apr 15 2006, 12:14 PM) [snapback]365118[/snapback][/div][div class=\'quotemain\'][!--quotec--]If you are getting warning messages then you will want to get them sorted out otherwise you script will not work as you expect it to.If you want to turn your errors off you'll need to access to your php.ini file and turn [b]display_errors[/b] (located near line 357) to Off.[/quote]hi thanks for the reply.is it possible i can only turn off errors just from one particular script?? Quote Link to comment https://forums.phpfreaks.com/topic/7492-solved-off-php-warning-message/#findComment-27293 Share on other sites More sharing options...
laavanya14 Posted April 15, 2006 Author Share Posted April 15, 2006 [!--quoteo(post=365123:date=Apr 15 2006, 12:42 PM:name=Laavanya)--][div class=\'quotetop\']QUOTE(Laavanya @ Apr 15 2006, 12:42 PM) [snapback]365123[/snapback][/div][div class=\'quotemain\'][!--quotec--]hi thanks for the reply.is it possible i can only turn off errors just from one particular script??[/quote]solved it :pjust put error_reporting(0) for that page :D Quote Link to comment https://forums.phpfreaks.com/topic/7492-solved-off-php-warning-message/#findComment-27310 Share on other sites More sharing options...
wildteen88 Posted April 15, 2006 Share Posted April 15, 2006 Just curious by waht was the error message? But anyway glad you found out what to do. Quote Link to comment https://forums.phpfreaks.com/topic/7492-solved-off-php-warning-message/#findComment-27312 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.