Answers for "how to check the errors in php"

PHP
10

show php errors

ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
Posted by: Guest on February-20-2020
0

php error check

try
{
	//Php code
}
catch(Eception $e)
{
	echo $e->getMessage();
  //This will disply error 
}
Posted by: Guest on April-08-2021

Browse Popular Code Answers by Language