sorting the data

From: Date: Mon, 16 Oct 2000 18:25:17 +0000
Subject: sorting the data
Groups: php.db 
Request: Send a blank email to php-db+get-3654@lists.php.net to get a copy of this message
If I am trying to sort the data from my "mysql_db", how would i implement that code? Here is what I have and the errors that follow while($row = mysql_fetch_array($result)) { echo "Data" . $row[0] . "&nbsp"; echo "data2" . $row.... ; sort($row); } When I do this, I get an error stating that I am passing an invalid data type. Warning: Wrong datatype in sort() call Should I use asort();? or, am I not calling the array right? Thanks bryan

« previous php.db (#3654) next »