Skip to content

Instantly share code, notes, and snippets.

@kakobotasso
Created April 20, 2013 15:26
Show Gist options
  • Save kakobotasso/5426345 to your computer and use it in GitHub Desktop.
Save kakobotasso/5426345 to your computer and use it in GitHub Desktop.
$exec = $this->_conn->prepare('INSERT INTO usuarios(nome_usuario, email_usuario, senha_usuario) VALUES (":nome_usuario", ":email_usuario", ":senha_usuario")');
$exec->bindValue(":nome_usuario", $dados['nome_usuario'], PDO::PARAM_STR);
$exec->bindValue(":email_usuario", $dados['email_usuario'], PDO::PARAM_STR);
$exec->bindValue(":senha_usuario", $dados['senha_usuario'], PDO::PARAM_STR);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment