Advertisement
Sparkster

Untitled

Jul 24th, 2013
269
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.47 KB | None | 0 0
  1. $query = $pdo->prepare("INSERT INTO prices(te_value,pot_value,luna_value/*,user_id, card_id*/) VALUES (:te_value,:pot_value,:luna_value/*,:user_id,:card_id */)");
  2. $query->bindValue(":te_value", $te, PDO::PARAM_INT);
  3. $query->bindValue(":pot_value", $pot, PDO::PARAM_INT);
  4. $query->bindValue(":luna_value", $luna, PDO::PARAM_INT);
  5. // $query->bindValue(":user_id", $userid, PDO::PARAM_INT);
  6. // $query->bindValue(":card_id", $_GET['card_id'], PDO::PARAM_INT);
  7. $query->execute();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement