Re: Having Trouble With Session Variable in Query Statement
| From: | revDAVE | Date: | Mon, 23 Feb 2009 20:50:58 +0000 |
| Subject: | Re: Having Trouble With Session Variable in Query Statement | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-288708@lists.php.net to get a copy of this message | ||
On 2/23/2009 12:44 PM, "Paul M Foster" <paulf@quillandmouse.com> 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]