RE: [PHP] *OK, more eval for today

2002-12-19 Thread Ford, Mike [LSS]
> -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

RE: [PHP] *OK, more eval for today

2002-12-18 Thread Martin Towell
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

Re: [PHP] *OK, more eval for today

2002-12-18 Thread Alexey Lysenkov
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/

Re: [PHP] *OK, more eval for today

2002-12-18 Thread Alexey Lysenkov
am trying -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] *OK, more eval for today

2002-12-18 Thread John W. Holmes
> 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

Re: [PHP] *OK, more eval for today

2002-12-18 Thread Alexey Lysenkov
- 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: [

RE: [PHP] *OK, more eval for today

2002-12-18 Thread John W. Holmes
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

[PHP] *OK, more eval for today

2002-12-18 Thread Alexey Lysenkov
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