retrieving the enteries :
<?php
$query1 = "SELECT * FROM table2 WHERE id='{$user}' order by srno desc " ;
$result1=mysql_query($query1,$con);
if (!($result1) )
{
die('Error: ' . mysql_error($con));
}
else
{
$values1= mysql_fetch_array($result1);
}
mysql_close($con);
?>
for descending order display I am doing this:
while($values1)
{
echo $row['srno'];
echo " " . $row['Symptoms'];
echo "<br>";
}
This makes all the records to be displayed on the same page in descending order. How do i make them display on different pages.Is there a way of accessing values of array values1 using index so that I can manipulate different records on different pages.