Re: Variable $_POST vars?

From: Date: Sun, 11 Dec 2005 16:15:35 +0000
Subject: Re: Variable $_POST vars?
References: 1 2 3 4 5 6 7  Groups: php.general 
Request: Send a blank email to php-general+get-227309@lists.php.net to get a copy of this message
But when I tried your idea, it errors out with a PHP parse error. I agree with you about it being semantically the same, however it doesn't work. go figure "Robert Cummings" <robert@interjinn.com> wrote in message news:1134286069.8935.16.camel@blobule.suds... > On Sun, 2005-12-11 at 02:03, The.Rock wrote: >> Rob, I thought I had tried everything, except...the following: >> >> $item = $_POST["item$i"]; //Where $i increments and loops thru my POST >> vars...WOHOO! >> >> This actually works. Why it works, I'll never know. but it does! > > *lol* It's semantically the same as what I posted for you :) > > Cheers, > Rob. > -- > .------------------------------------------------------------. > | InterJinn Application Framework - http://www.interjinn.com | > :------------------------------------------------------------: > | An application and templating framework for PHP. Boasting | > | a powerful, scalable system for accessing system services | > | such as forms, properties, sessions, and caches. InterJinn | > | also provides an extremely flexible architecture for | > | creating re-usable components quickly and easily. | > `------------------------------------------------------------'

« previous php.general (#227309) next »