Code: Select all
if (!mysql_query($sql2,$con))
{
echo "There is a technical problem at this moment please contact live support" . mysql_error();
exit();
}
Code: Select all
try
{
mysql_query($sql2,$con);
}
catch(Exception $e)
{
echo "There is a technical problem at this moment please contact live support". $e->getMessage();
}