include($_SERVER['DOCUMENT_ROOT'].'/connectdb.php'); include($_SERVER['DOCUMENT_ROOT'].'/functions.php'); $result = mysql_query( "SELECT title, id FROM poll WHERE 1" ); $i = 0; while($row = mysql_fetch_array($result)) { $title[$i] = $row['title']; $id[$i] = $row['id']; $i++; } ?>
Participate in a poll below and get a prize. Some of the current prizes include 16gb Apple iPod Touch's, $250 gift cards, $500 gift cards, and $1000 gift cards.
for($x = (sizeof($title) - 1); $x >= 0; $x--){ print ''; } ?> _