Guest User

Untitled

a guest
Jan 20th, 2019
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. public function addItem($id, $site, $price, $quantity, $condition,
  2. $sellerName, $sellerRating, $sellerLocation, $description, $link){
  3.  
  4. $q = "INSERT INTO tbl_items VALUES(
  5. '$id',
  6. '$site',
  7. $price,
  8. $quantity,
  9. '$condition',
  10. '$sellerName',
  11. $sellerRating,
  12. '$sellerLocation',
  13. '$description',
  14. '$link',
  15. ".time().")";
  16.  
  17. return mysql_query($q, $this->connection);
  18. }
  19.  
  20. addItem("id1", "site1", 100, NULL, "NULL", "NULL", "NULL", "NULL", "NULL", "NULL",);
Add Comment
Please, Sign In to add comment