Is it possible (and if so, how) to include a php error message on the screen for only one page? Currently, all error messages are displayed on the screen turned off in php ini.
Or another way: if I use error_reporting (E_ALL) on one page, will errors appear on other pages (which I donβt want)?
Thanks!
Use error_reporting(E_ALL)will only report errors for this page!
error_reporting(E_ALL)
To display errors use ini_set("display_errors", 1)
ini_set("display_errors", 1)
error_reporting() PHP , script ( , , , ). ..
error_reporting()
, script , , ( ). , - .
EDIT: , , display_errors . , , , , .
display_errors
error_reporting(0) script . . , , , .
error_reporting(0)
Read more about error_reporting () here