I have this query which echos the data in the field CODE
which is like that 1|2|3|4|5 etc
which is the codes ids for each city
is there any way to sort the Output Descending ???????????PHP Code:$query="select * from vz_cities_tbl where VCI_ID='".$row_Recordset2['city_of_interest']."' ";
$result=mysql_query($query);
if(mysql_num_rows($result)>0)
{
$city=mysql_fetch_array($result);
$topBanners=explode('|',$city['CODE']);
/*print_r($topBanners);
echo "<br />";*/
}
like
5|4|3|2|1







Bookmarks