Advertisement
Guest User

Untitled

a guest
Feb 27th, 2019
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. <?php
  2.  
  3. $db_host="";
  4. $db_user="";
  5. $db_pass="";
  6. $db_name="";
  7.  
  8.  
  9. $conexion=@mysql_connect($db_host,$db_user,$db_pass) or die (mysql_error());
  10.  
  11.  
  12. $db=@mysql_select_db($db_name,$conexion) or die (mysql_errno());
  13.  
  14.  
  15.  
  16. /*
  17. $sql="insert into usuarios (login, pass, email) values ('$login.', '$pass','$email')";
  18. $result=mysql_query($sql, $conexion);
  19. */
  20.  
  21. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement