Guest User

Untitled

a guest
Jan 23rd, 2019
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. function conectardb(){
  2. $conexao = mysqli_connect($host, $usuario, $senha, $banco);
  3. //testar a conexao
  4. if (mysqli_connect_errno()) {
  5. echo "FALHA NA CONEXÃO";
  6. }
  7.  
  8. return $conexao;
  9. }
Add Comment
Please, Sign In to add comment