[PHP] HELP: Still Learning
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
Re: [PHP] HELP: Still Learning
On Sunday 28 October 2001 07:18, jtjohnston wrote: Still learning! But need syntax help. This works: mysql_pconnect($host,MyAccount,MyPassword); ... This does not: mysql_pconnect($host,$MyTable,$MyPassword); Notice something? :) -- Christian Reiniger LGDC Webmaster (http://lgdc.sunsite.dk/) CPU not found. retry, abort, ignore? -- 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]
Re: [PHP] HELP: Still Learning
Still learning! But need syntax help. This works: Notice something? :) Yep, you forgot to paste the error message into the email. -- 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]
Re: [PHP] HELP: Still Learning
$host :) - Original Message - From: Christian Reiniger [EMAIL PROTECTED] To: jtjohnston [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: 28. listopad 2001 11:15 Subject: Re: [PHP] HELP: Still Learning On Sunday 28 October 2001 07:18, jtjohnston wrote: Still learning! But need syntax help. This works: mysql_pconnect($host,MyAccount,MyPassword); ... This does not: mysql_pconnect($host,$MyTable,$MyPassword); Notice something? :) -- Christian Reiniger LGDC Webmaster (http://lgdc.sunsite.dk/) CPU not found. retry, abort, ignore? -- 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] -- 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]