Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- require_once "../INCLUDES/conn.php";
- $con = connection();
- $user = 'usuario';
- $pass = password_hash('K899XMu8ee4I', PASSWORD_DEFAULT);
- $statement = $con->prepare("INSERT INTO usuarios (name, pass) VALUES (:user,
- :pass)");
- $statement->bindParam(':user', $user);
- $statement->bindParam(':pass', $pass);
- $statement->execute();
- $con = null;
- ?>
- Array (
- [0] => HY000
- [1] => 1745
- [2] => OCIStmtExecute: ORA-01745: invalid host/bind variable name (extpdo_ocioci_statement.c:159)
- )
Add Comment
Please, Sign In to add comment