how to use url id of one page for other page in where clause like i have send http://localhost/Eshopper/products.php?id=1 where the id is for product like in my table i have tbl_products in that
product_id ,produc_name , brand_id
where the brand is select form menu linke i have menu for samsung when we click on that it will shown all samsung mobile
i have use where query for getting data i was able to get the data by passing manual id like
SELECT * FROM tbl_products
WHERE brand_id=1
but i want to get this brand id=1 from url that i passed through
http://localhost/Eshopper/products.php?id=1
so this id 1 automacticlly added to the where condtion so to do this