> -Original Message-
> From: Alexey Lysenkov [mailto:[EMAIL PROTECTED]]
> Sent: 18 December 2002 19:08
>
>
> I am trying to do this:
>
> $tempVar1 = '\$HTTP_POST_VARS[\"q4_'.$i.'"]';
> eval("\$tempVar1=\"$tempVar1\";");
>
Well, you have the answer right there in front of you -- why n
To: [EMAIL PROTECTED]
Subject: [PHP] *OK, more eval for today
I know, it's eval = evil, but I don't see any other way I can check for 120
variables submitted via post, without making a temp variable, assigning a
value of the posted Var and checking for it (and deciding on the further run
of
It worked for validation! :) Hooray.
Now, I guess, I have to set the same logic for the whole other bumch of
questions God..
Most probably will post here today later again.
Cheers, John!
-Alex
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/
am trying
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> Okay, wait.
> How?
>
> say, I have a field of checkboxes in 3 columns and 6 rows. I need at
least
> one checked.
> At the moment every checkbox has the name of kind: q3_4_1 , where 4
stands
> for row and 1 for column. Now, how do I name them and loop through
them?
> Plus, if $HTTP_POST_VAR["q3_4
- A monthly magazine for PHP Professionals. Get your copy
> today. http://www.phparch.com/
>
> > -Original Message-
> > From: Alexey Lysenkov [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, December 18, 2002 2:08 PM
> > To: [EMAIL PROTECTED]
> > Subject: [
senkov [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, December 18, 2002 2:08 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] *OK, more eval for today
>
> I know, it's eval = evil, but I don't see any other way I can check
for
> 120 variables submitted via post, without making a
I know, it's eval = evil, but I don't see any other way I can check for 120 variables
submitted via post, without making a temp variable, assigning a value of the posted
Var and checking for it (and deciding on the further run of the script). Anyways, I
took a classical eval thing and am doing f
8 matches
Mail list logo