Does this look right? Because it's not working...
PHP Code:
function mysqlconn() {
$user = "f***ay_f**";
$pass = "***";
$db = "f***y_f****s@64.**.120.**";
$newconnect = mysql_pconnect(64.**.120.**, $user,$pass);
mysql_select_db($db);
Please note, aterisks just mean that I don't want to divulge any info.
The above gives me a parse error, changing
$newconnect = mysql_pconnect(64.**.120.**, $user,$pass);
to
$newconnect = mysql_pconnect(
localhost, $user,$pass);
gives me "Incorrect database name..." but the page still shows.