Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- //This script is designed by Android-Examples.com
- //Define your host here.
- $hostname = "127.0.0.1";
- //Define your database username here.
- $username = "root";
- //Define your database password here.
- $password = "";
- //Define your database name here.
- $dbname = "test";
- $conn = mysql_connect($hostname, $username, $password);
- if (!$conn)
- {
- die('Could not connect: ' . mysql_error());
- }
- mysql_select_db($dbname, $conn);
- //This script is designed by Android-Examples.com
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement