PHP, How to put an error in a specific spot -
you know how php errors show @ top of page. there way suppress , turn in $var? place somewhere in page.
yes, set own error handler intercept , error besides outputting them wherever occur. don't think it's useful display php errors elegantly on page. php errors not meant pretty, they're not meant occur @ all. if see one, should jarring possible , should fix possible. they're meant during development. trying pretty them spending time on wrong part of code.
in production, errors should logged log file , not visibly output on page @ all.
Comments
Post a Comment