Re: Re: can a session be used in a query?

From: Date: Wed, 07 Jan 2009 23:50:22 +0000
Subject: Re: Re: can a session be used in a query?
References: 1 2 3 4 5 6 7  Groups: php.general 
Request: Send a blank email to php-general+get-285621@lists.php.net to get a copy of this message
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/


« previous php.general (#285621) next »