Advertisement
Guest User

Untitled

a guest
Jun 1st, 2015
271
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. <?php
  2.  
  3. require_once("config.php"); //include "config.php";
  4.  
  5. $conecta = mysql_connect($servidor, $user, $password) or die (mysql_error());
  6.  
  7. mysql_select_db($banco_dados, $conecta);
  8.  
  9. echo "conexão OK";
  10.  
  11. mysql_close($conecta);
  12.  
  13. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement