Going on from Dentafrice, if you'd like this all in php, this solution is bandwidth heavy but better overall:
PHP Code:<?php
while('1' = '1') {
$if_is = mysql_num_rows(mysql_query("SELECT bla FROM blabla WHERE blergh='bluh'") or die(mysql_error()));
if($if_is != '0') {
echo "<script type=\"text/javascript\">alert('stuff');</script>";
}
sleep(5)
}
// not tested this code
?>


lol.
Reply With Quote


