Re: Having Trouble With Session Variable in Query Statement

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2/23/2009 12:44 PM, "Paul M Foster" <paulf@xxxxxxxxxxxxxxxxx> wrote:

> Don't single quote values inside array brackets when the whole
> expression is in double quotes. You've got:
> 
> "... $_SESSION['thisid']";
> 
> Do this instead:
> 
> "... $_SESSION[thisid]";


AHA - thanks much - that worked!



--
Thanks - RevDave
Cool @ hosting4days . com
[db-lists 09]




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux