I used this code to have a PHP file email my cell phone and it worked.
------------------------
<?php
mail("9999999999@mobile.att.net", "Header here", "More Text here");
?>
------------------------
My question is does anyone know the code I would need to put into this mysql statement to get it to email my cell phone when there is a mysql error?
$db = mysql_connect("localhost", "name", "mypassword");
mysql_select_db("databasename",$db) or die(mysql_error());
Thanks
Dean
------------------------
<?php
mail("9999999999@mobile.att.net", "Header here", "More Text here");
?>
------------------------
My question is does anyone know the code I would need to put into this mysql statement to get it to email my cell phone when there is a mysql error?
$db = mysql_connect("localhost", "name", "mypassword");
mysql_select_db("databasename",$db) or die(mysql_error());
Thanks
Dean