Last active
June 19, 2020 14:53
-
-
Save zerobugs-oficial/87c9c903c4a4704a86e15c75dbd64790 to your computer and use it in GitHub Desktop.
Upload de Arquivos e Imagens usando PHP e MySQL - 1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$host = "localhost"; | |
$usuario = "USUARIO"; | |
$senha = "SENHA"; | |
$bd = "BANCODEDADOS"; | |
$mysqli = new mysqli($host, $usuario, $senha, $bd); | |
if($mysqli->connect_errno) | |
echo "Falha na conexão: (".$mysqli->connect_errno.") ".$mysqli->connect_error; | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment