Header Ads

PHP, MySQL with jQuery Polling System - 03

update_tootip.php <?php
include("dbcon.php");
$result=mysql_query("select * from polling");

$row=mysql_fetch_array($result);

$dislike=$row['dislike'];
$like=$row['liked'];
$average=$row['average'];

?>
<span class="totalstats">
Good: <?php echo $like?>, Not Good: <?php echo $dislike?>,  Average: <?php echo $average?>
</span>

No comments

Thank you very much for your ideas!