Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PDO php
- $req = $bdd->prepare('INSERT INTO membres(pseudo, pass, email, date_inscription) VALUES(:pseudo, :pass, :email, CURDATE())');
- $req->execute();
- MYSQL php
- $query = $db->prepare(
- "INSERT INTO pending_users (email, token, title_apt) VALUES (?, ?, ?, ?)"
- );
- $db->bind_param($title, $email, $token, $time);
- $db->execute();
- $db->close();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement