Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $db_host = 'localhost';
- $db_user = 'root';
- $db_password = 'root';
- $db_name = 'wdev';
- $db_charset = 'utf8';
- $mysql = mysql_connect($db_host, $db_user, $db_password) or die ('No database connection: '.mysql_error());
- mysql_select_db($db_name) or die (mysql_error());
- mysql_set_charset($db_charset, $mysql);
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement