View Single Post
Old 02-18-2005, 11:15 PM  
Steen2
Confirmed User
 
Join Date: Feb 2004
Location: Vancouver, Canada
Posts: 7,662
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.
__________________
ICQ: 2262.73945
Steen2 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote