daily pastebin goal
25%
SHARE
TWEET

Untitled

a guest Sep 4th, 2018 186 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. $host = 'xxxxxx';
  3. $user = 'xxxxxxxx';
  4. $pass = 'xxxxxx';
  5. $db   = 'xxxxxx';
  6.  
  7. // conexão e seleção do banco de dados
  8. $con = mysqli_connect($host, $user, $pass, $db);
  9. 
  10. if ($con) {
  11.   echo "Conexão feita com sucesso.";
  12. } else {
  13.   echo "Erro ao tentar conextar ao banco de dados.";
  14. }
  15. ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top