How do you post data with a link

后端 未结 7 1961
感情败类
感情败类 2021-01-30 18:15

I have a database which holds the residents of each house in a certain street. I have a \'house view\' php web page which can display an individual house and residents when give

7条回答
  •  一向
    一向 (楼主)
    2021-01-30 19:02

    You cannot make POST HTTP Requests by some_script

    Just open your house.php, find in it where you have $house = $_POST['houseVar'] and change it to:

    isset($_POST['houseVar']) ? $house = $_POST['houseVar'] : $house = $_GET['houseVar']

    And in the streeview.php make links like that:

    Or something else. I just don't know your files and what inside it.

提交回复
热议问题