Still learning! But need syntax help. This works:
$myconnection = mysql_pconnect($host,"MyAccount","MyPassword"); ... $news = mysql_query("SHOW TABLE STATUS FROM MyAccount LIKE 'MyTable'"); ... This does not: $MyAccount = "MyAccount"; $MyTable = "MyTable"; $MyPassword = "MyPassword"; $myconnection = mysql_pconnect($host,"$MyTable","$MyPassword"); ... $news = mysql_query("SHOW TABLE STATUS FROM MyAccount LIKE 'MyTable'"); ... So? ... How do I use $MyAccount, $MyTable & $MyPassword correctly? ... I'm creating a function.inc ... An email post & reply would help ... (help me get to bed faster tonight :) ) John