Hi All,
I need help on implementing an alert using PHP and MySQL. The following is the plan:
1. User makes a requisition and the manager approves of it.
2. I want the manager to be alerted/notified of an impending requisition in the form of an alert.
The following is what i have done but it's not working:
<?php
require_once("admin/db.php");
$result = @mysql_query("SELECT * FROM users");
if($row['financealert']=='Yes'){
?>
<script type="text/javascript">
windows.alert('ATTENTION');
</script>
<?php
}
?>
Your help is welcome.
Regards.



Reply With Quote


Bookmarks