title: How to use url id in where clause dynamically
body: <p>how to use url id of one page for other page in where clause
  like 
  i have send <a href="http://localhost/Eshopper/products.php?id=1" rel="nofollow">http://localhost/Eshopper/products.php?id=1</a>
  where the id is for product like in my table i have tbl_products
   in that </p>
  
  <p>product_id ,produc_name , brand_id<br>
  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</p>
  
  <p>SELECT * FROM <code>tbl_products</code> WHERE brand_id=1
  but i want to get this  brand id=1 from url that i passed through
   <a href="http://localhost/Eshopper/products.php?id=1" rel="nofollow">http://localhost/Eshopper/products.php?id=1</a>
  so this id 1 automacticlly added to the where condtion so to do this </p>