Now in my PHP/MYSQL script:
$result = mysql_query("select distinct customer.ID,customer.countryID,Links".
"from Database where $cond order by customer.ID,customer.countryID desc limit $offset,$limit" );
customer.ID can be from 1 - 10;
customer.countryID can be from 1 - 10;
How can I list the "select" result "IF" customer.countryID=5 at the top first?
I have tried
$result = mysql_query("select distinct customer.ID,customer.countryID,Links".
"from Database where $cond order by IF(customer.countryID='5','1','0'), customer.ID,customer.countryID desc limit $offset,$limit" );
but failed.... any friend help?