Re: Re: can a session be used in a query?
| From: | Ashley Sheridan | Date: | Thu, 08 Jan 2009 00:07:51 +0000 |
| Subject: | Re: Re: can a session be used in a query? | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-285622@lists.php.net to get a copy of this message | ||
On Wed, 2009-01-07 at 18:50 -0500, Frank Stanovcak wrote:
> here is a handy little snippet of code I use. Just include it where you
> want to get a snap shot of all the variables in an app.
>
> ta ta for today boys!
> ----- Original Message -----
> From: "Chris" <dmagick@gmail.com>
> To: "Terion Miller" <webdev.terion@gmail.com>
> Cc: "Frank Stanovcak" <blindspotpro@comcast.net>;
> <php-general@lists.php.net>
> Sent: Wednesday, January 07, 2009 5:29 PM
> Subject: Re: [PHP] Re: can a session be used in a query?
>
>
> >
> >>>> I will try that, thanks, I did just try to echo the
> >>>> $row['AddEditAdmin']
> >>> results, as I do in the query section and in that it does return YES or
> >>> NO
> >>> like I expect, but when I tried to echo it down in the page where I need
> >>> to
> >>> use it.... guess what..no echo... am I cutting my query off somewhere?
> >>> could
> >>> it be the while statement ....
> >>>
> >>> Ok tried that and got "*Warning*: Invalid argument supplied for
> >>> foreach()"
> >
> > var_dump($row);
> >
> > what is in there?
> >
> > --
> > Postgresql & php tutorials
> > http://www.designmagick.com/
> >
> >
> >
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
Is it just me, or can anybody else not see the code snippet? :p
Ash
www.ashleysheridan.co.uk