I want to be able to list my db out in variuos orders. I am using a while loop to display the contents in a tabled layout
here is the code:
while ($row = mysql_fetch_array($result, MYSQL_ASSOC))
{
extract($row);
include("db_disp.php");
$topnum = $topnum + 130;
}
It outputs the rows as they are in the database - do I need to use indexs to output it in a diferent order ? What is the syntax for using indexs (i didn't see anything about in the book on php that i read ).
I have seen lots of this sort of thing used by real estate agents - so it must be pretty std stuff. Thanks for any help.
David.