Menu
Hi there
If i have this query for example,
[code=php]
$sql = “SELECT * FROM tblRegister WHERE UserID=’$DBUserID’ AND `TimeStamp`=’$DBDate’ ORDER BY `TimeStamp` DESC LIMIT 1”;
$qry = mysql_query($sql) or die(“Query failed ($sql) ” . mysql_error()); ;
Is it possible for a script to email me the error and the query and from what PHP it was so that i can fix it ASAP? Is there any other ways of mailing any erros users may have to me so i can fix any problems ASAP? (Apart from automailing me the contents of a 404 or whatever)
Thanks!,
Scott