Hi guys, this is what i need help with, I would like it to pull diffrent rows of dat from the ID. WHERE id
=’.intval(2)); But i want it with multiples of id numbers like 1,2,3,4,5,6,7, etc.
Here is my page i want it to look like: http://www.nuffracingleague.com/NuffStandings.html
<?php $username="MYUSERNAME"; $password="MYPASSWORD"; $database="MYDATABASE"; mysql_connect(localhost,$username,$password); mysql_select_db($database) or die( "Unable to select database"); $result=mysql_query('SELECT * FROM `standings` WHERE `id`='.intval(1)); if($row=mysql_fetch_assoc($result)) echo 'Rank | Points Behind | Driver/Car | Points | Wins | Starts | Poles | Top 5s | Top 10s |
'.htmlentities($row['rank']).' | '.htmlentities($row['pointsbehind']).' | '.htmlentities($row['drivers']).' | '.htmlentities($row['points']).' | '.htmlentities($row['wins']).' | '.htmlentities($row['starts']).' | '.htmlentities($row['poles']).' | '.htmlentities($row['top5s']).' | '.htmlentities($row['top10s']).' |
Rank | Points Behind | Driver/Car | Points | Wins | Starts | Poles | Top 5s | Top 10s |
'.htmlentities($row['rank']).' | '.htmlentities($row['pointsbehind']).' | '.htmlentities($row['drivers']).' | '.htmlentities($row['points']).' | '.htmlentities($row['wins']).' | '.htmlentities($row['starts']).' | '.htmlentities($row['poles']).' | '.htmlentities($row['top5s']).' | '.htmlentities($row['top10s']).' |