Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- function Connection(){
- $server="tcchvo.000webhost.com";
- $user="hid1728660_h22stein";
- $pass="hvo123";
- $db="id1728660_medidor";
- $connection = mysql_connect($server, $user, $pass) or die('Error ao conectar no mysql: '.mysql_error());
- mysql_select_db($db) or die( 'MySQL ERROR: '. mysql_error() );
- return $connection;
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement