Advertisement
Guest User

Untitled

a guest
Dec 9th, 2016
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.38 KB | None | 0 0
  1. <?php
  2.  
  3. // get the product key
  4. $product_key = $_GET['product_key'];
  5.  
  6. // Create MySQLi connection
  7. $conn = new mysqli( $my_servername, $my_username, $my_password, $my_schema );
  8.  
  9. $sql = "select
  10.         product_key,
  11.         product_name,
  12.         product_description,
  13.         product_price,
  14.         product_image_url
  15. from
  16.         product_tbl
  17. where
  18.         product_key = " . $product_key ;
  19.  
  20. $conn->multi_query( $sql );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement