I have problem with array_reverse.

I just want to call info from my MySQL / db / table / and display the 
info in reverse.

here is a sample of the code:

<HTML>
<?php 
$db = mysql_connect("localhost", "root", ""); 
mysql_select_db("learndb",$db); 
$result = mysql_ query("SELECT * FROM personnel",$ db); 
echo "<TABLE BORDER=2>"; 
echo"<TR><TD><B>Full Name</B><TD><B>Nick 
Name</B><TD><B>Options</B></TR>"; 
while($myrow = mysql_fetch_array($result)) 
{ 
echo "<TR><TD>".$myrow["firstname"]." 
".$myrow["lastname"]."<TD>".$myrow["nick"]; 
echo "<TD><a href=\"view.php?id=".$myrow[id]."\">View</a>"; 
} 
echo "</TABLE>"; 
?> 
</HTML>

This would echo  info by the order of the "id".

Help?



Alexander McLean III
Designer / Developer / Illustrator
AM3 Design
am3design.com
[EMAIL PROTECTED]

Reply via email to