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

Popular posts from this blog

jasper reports - Fixed header in Excel using JasperReports -

media player - Android: mediaplayer went away with unhandled events -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -