<?php
define(DATABASE_HOST, "localhost");
define(USERNAME, "root");
define(PASSWORD, "123");
define(DATABASE_NAME, "first_db");
?>
<?php
require "app_config.php";
mysql_connect(DATABASE_HOST, USERNAME, PASSWORD) or die(mysql_error());
mysql_select_db(DATABASE_NAME) or die(mysql_error());
?>