Jokes aside, I still don't get it. $host = "localhost"; $MyAccount = "AccountName"; $MyTable = "Table1"; $MyPassword = "beep";
This works: mysql_pconnect($host,"AccountName","beep"); $news = mysql_query("SHOW TABLE STATUS FROM AccountName LIKE 'Table1'"); Why doesn;'t this? $myconnection = mysql_pconnect($host,$MyTable,$MyPassword); ... $news = mysql_query("SHOW TABLE STATUS FROM $MyAccount LIKE '$MyTable'"); I have tried variations with or without " and '. Is there a way to make this work? Or do I have to do as above every time? > >"$host" :) Your telling me to put $host in "$host"? OK: $myconnection = mysql_pconnect("$host","$MyAccount","$MyPassword"); It doesn't work?! Neither does: $myconnection = mysql_pconnect($host,$MyAccount,$MyPassword); $myconnection = mysql_pconnect('$host','$MyAccount','$MyPassword'); If I try this, $stringing just $host, it works!? mysql_pconnect($host,"AccountName","beep"); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]