Jump to content

sorting from database


mus

Recommended Posts

you have a row called row? that sounds weird and it's probably a mysql reserved name.

 

try this, but replace TABLE with your table name, and ROW with your row name (leave the backticks)

 

 

$result = mysql_query("select * from `TABLE` order by `ROW` desc");

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.