php check syntax error code example
Example: php error check
try
{
//Php code
}
catch(Eception $e)
{
echo $e->getMessage();
//This will disply error
}
try
{
//Php code
}
catch(Eception $e)
{
echo $e->getMessage();
//This will disply error
}