Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $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 */)");
- $query->bindValue(":te_value", $te, PDO::PARAM_INT);
- $query->bindValue(":pot_value", $pot, PDO::PARAM_INT);
- $query->bindValue(":luna_value", $luna, PDO::PARAM_INT);
- // $query->bindValue(":user_id", $userid, PDO::PARAM_INT);
- // $query->bindValue(":card_id", $_GET['card_id'], PDO::PARAM_INT);
- $query->execute();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement