I want to get data out in rising numbers from an query so I can use it outside the loop...
Here is my query:
What I want is to have it come out like this (if 3 records):PHP Code:$sql="SELECT * FROM ".$prefix."_turn_data WHERE turnid=$matchturn ORDER BY hole_no";
$result = mysql_query($sql);
while($row = mysql_fetch_array($result)){
$par = $row['par'];
}
$par1, $par2, $par3
I need this later on in the script... Can this be done? Thanks in advance...





Bookmarks