Using URL parameters in MYSQL search

前端 未结 4 1476
广开言路
广开言路 2021-01-26 08:03

I am trying to built a search page for products in which i have two table products and inventory, i have my product details in product and inventory details like color,size,pric

4条回答
  •  长情又很酷
    2021-01-26 08:08

    You can catch values from an url. you can use " $_GET['parameter'] "

    $color = $_GET['color'];
    $category = $_GET['cat'];
    

提交回复
热议问题