Can't find an input type=image value in $_POST

后端 未结 5 2187
故里飘歌
故里飘歌 2020-12-20 03:08

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.

5条回答
  •  青春惊慌失措
    2020-12-20 04:00

        if(isset($_POST['buyuka'])
        {
            $sorgu='SELECT * FROM urunler ORDER BY uyeno DESC';
        } 
        else 
        {
            $sorgu='SELECT * FROM urunler';
        }
    

    Give this a try.

提交回复
热议问题