Wednesday, July 9, 2014

Connection code in PHP

<?php
# FileName="Connection_php_mysql.htm"
# Type="MYSQL"
# HTTP="true"
$hostname_name = "localhost";
$database_name = "name";
$username_name = "root";
$password = "";
$job = mysql_pconnect($hostname_name, $username_name, $password) or trigger_error(mysql_error(),E_USER_ERROR);
?>

0 comments:

Post a Comment