topical media & game development
professional-ajax-03-Communication-Control-Patterns-Periodic-Refresh-CheckComments.php / php
<?php
header("Cache-control: No-Cache");
header("Pragma: No-Cache");
//database information
sDBName = "your_db_name";
sDBPassword = "your_db_password";
//create the SQL query string
oLink = mysql_connect(sDBUsername,sDBName) or die("-1|| || ");
if(sSQL) and mysql_num_rows(aValues = mysql_fetch_array(aValues['CommentId']."||".aValues['ShortMessage'];
} else {
echo "-1|| || ";
}
mysql_free_result(oLink);
?>
(C) Æliens
20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.