Well may be it is to easy question but:
I want to sort the numbers by clicking an image. I thought that i make a form and add an imagefield.
if(isset($_POST['buyuka']) { $sorgu='SELECT * FROM urunler ORDER BY uyeno DESC'; } else { $sorgu='SELECT * FROM urunler'; }
Give this a try.