Re: [PHP] stupid URL variable question

2002-02-01 Thread Girish Nath
t;[EMAIL PROTECTED]> To: "Php-General" <[EMAIL PROTECTED]> Sent: Saturday, February 02, 2002 1:02 AM Subject: RE: [PHP] stupid URL variable question I think that was a necessary step, I had missed that one, but it unfortunately hasn't solved the problem. Once again the

RE: [PHP] stupid URL variable question

2002-02-01 Thread James Hallam
ECTED]] Sent: Friday, February 01, 2002 5:53 PM To: James Hallam; Php-General Subject: Re: [PHP] stupid URL variable question Hi Try without quotes : $table_name = $locale; Your SQL is probably reading "SELECT comp, content FROM $locale instead of en_na Regards Girish - Origin

Re: [PHP] stupid URL variable question

2002-02-01 Thread Girish Nath
Sent: Saturday, February 02, 2002 12:42 AM Subject: [PHP] stupid URL variable question Can anyone explain why this URL and SQL statement won't work? Media Coverage Test Page --> And on test_mediacoverage.php .. $table_name = "$locale"; // ..connection content.. $sql = "

[PHP] stupid URL variable question

2002-02-01 Thread James Hallam
Can anyone explain why this URL and SQL statement won't work? Media Coverage Test Page --> And on test_mediacoverage.php .. $table_name = "$locale"; // ..connection content.. $sql = "SELECT comp, content FROM $table_name WHERE sec = '$sec' AND subsec = '$subsec