Re: [Nolug] PHP $_POST problem

From: Joey Kelly <joey_at_joeykelly.net>
Date: Wed, 17 Mar 2004 10:21:09 -0600
Message-Id: <200403171021.09365.joey@joeykelly.net>

<snip>
> Instead of using $variable as the key into $_POST, you really need to
> use name as a string, like so:
>
> $variable = $_POST["variable"];
>
> Otherwise, PHP looks into the value of $variable (which is nothing,
> at that moment), and uses that as the key into $_POST, finding
> nothing there.

Yes, that's exactly what the problem was. Thanks for spotting it :-)

<snip>

-- 
Joey Kelly
< Minister of the Gospel | Linux Consultant >
http://joeykelly.net
"I may have invented it, but Bill made it famous."
 --- David Bradley, the IBM employee that invented CTRL-ALT-DEL
___________________
Nolug mailing list
nolug@nolug.org
Received on 03/17/04

This archive was generated by hypermail 2.2.0 : 12/19/08 EST