#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2000
    Posts
    58
    Rep Power
    14
    I create a pretty large form whith php and name the input boxe's "v_1_1" , "v_1_2" etc.

    I know how many i create but how do i get the information that the user put into the box?

    Is there any function like this:
    get_form("v_" . $counter1 . "_" . $counter2);

    or something?

    Can i get the info from a form without knowing the form name?

    Thanks

    [This message has been edited by digjen (edited September 11, 2000).]
  2. #2
  3. Banned (not really)
    Devshed Supreme Being (6500+ posts)

    Join Date
    Dec 1999
    Location
    Brussels, Belgium
    Posts
    14,640
    Rep Power
    4476
    Look at Variable Variables in the PHP manual. I think it might help you...

    ---John Holmes...
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2000
    Posts
    24
    Rep Power
    0
    Originally Posted by SepodatiCreations
    Look at Variable Variables in the PHP manual. I think it might help you...

    ---John Holmes...
    Look up the eval() function while you're at it. It can help with this problem.

    You can use something like below to get a variable

    eval ($new_Var = $v_$counter1_$counter2;");
    echo $new_var;

Similar Threads

  1. windows XP chkdsk and file system problems
    By wey97 in forum Windows Help
    Replies: 26
    Last Post: August 2nd, 2005, 11:37 PM
  2. Popup problems from Flash in IE6
    By jmichels in forum Flash Help
    Replies: 19
    Last Post: January 6th, 2004, 03:27 PM
  3. perl newb having mailer script problems...
    By mrmin123 in forum Perl Programming
    Replies: 0
    Last Post: October 7th, 2003, 01:15 AM
  4. Replies: 0
    Last Post: August 26th, 2003, 07:50 PM
  5. Windows problems
    By Known_criminal in forum Windows Help
    Replies: 0
    Last Post: August 23rd, 2003, 07:23 PM

IMN logo majestic logo threadwatch logo seochat tools logo