Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $username="id12345_studoob";
- $password="12345678"; //account password
- $host = "localhost";
- $dbname="id12345_studoob";
- $connection = mysqli_connect($host,$username,$password,$dbname) or die("Error " . mysqli_error($connection));
- if(! $connection ) {
- die('Could not connect: ' . mysql_error());
- }
- echo 'Connected successfully';
- mysqli_close($connection);
- ?>
Add Comment
Please, Sign In to add comment