The following is my code:
<?php
session_start();
$_SESSION['$username'];
require_once("admin/db.php");
$result = mysql_query("SELECT financealert, username FROM users WHERE financealert='yes'") or die(mysql_error());
if($user_session == $username && $financealert == 'yes') {
?>
<script type="text/javascript">
windows.alert('ATTENTION');
</script>
<?php
}
?>
The alert is not showing anyway.



Reply With Quote


Bookmarks