On Mon, 22 Apr 2002, Andre Dubuc wrote:
> would be OK. It seems it's the ONLY way my script will allow the array to be
> put into the database (PostgreSQL). If I type into the INSERT command
>
> .... $bozo, $next_var, $next_next_var // it works
> .... $_GET['bozo'], $_GET['next_var'], etc // I get T_Variable undefined
>
>
> **********************************************************
>
> The problem here is that $_SESSION['anything'] or $_GET['anything'] doesn't
> work. It refuses to print or pass anything. Why? I can't figure that out?
>
> I've tried a simple test, and yes the globals are off. But using the
>
> $bozo = $_GET['bozo']; approach, at least it writes to the database, but I
> cannot access the arrays at all??? And, I HAVE to write these for ALL the
> variables, else it doesn't get passed to the db.
>
> Sigh. So where am I messing up?
Once again, just do
{$_SESSION['anything']}
with the {curly braces} around it, if the array dereference is anywhere
inside "double quotes".
miguel
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php