On the first line of login.
php
- PHP: Select all
<?php include('./Connections/Links.php'); ?>
Connections/Links.php
- PHP: Select all
<?php
# FileName="Connection_php_mysql.htm"
# Type="MYSQL"
# HTTP="true"
$hostname_Links = "localhost";
$database_Links = "links";
$username_Links = "root";
$password_Links = "";
$Links = mysql_pconnect($hostname_Links, $username_Links, $password_Links) or trigger_error(mysql_error(),E_USER_ERROR);
?>