paulman888888 Posted June 29, 2008 Share Posted June 29, 2008 This is properly a silly question but... I would like something simlar to a counter. After showing the ipaddress i would like it to add 1 to the players colum This is what i have so far. <?php require('connect.php'); ?><?php $result = mysql_query("SELECT * FROM intobattle1 ORDER BY id DESC LIMIT 0, 1") or die(mysql_error()); // keeps getting the next row until there are no more to get while($row = mysql_fetch_array( $result )) { // Print out the contents of each row into a table echo "".$row['ipaddress'].""; } ?> Thankyou very much paul Quote Link to comment Share on other sites More sharing options...
MasterACE14 Posted June 29, 2008 Share Posted June 29, 2008 if you were testing out the poll feature of this forum, why so many to choose from? use a mysql_query to UPDATE the column and do it something like this... UPDATE blah blah blah..... count = count + 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.