1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. In order to post messages and view attached files in this forum, you must be a licensed XenForo customer.
    If you can't post, enter your forum username in the Associated Forum Users form in your customer area.

php - create x number of input boxes

Discussion in 'General PHP and MySQL Discussions' started by Liam Dawe, Jan 18, 2012.

  1. Liam Dawe Active Member

    Hi all just wandering how i do this;

    Say i have a number between 1-50 depending on a user selection when they are taken to a page i wish that page to have that many html input boxes, how would i go about doing that? Would be some sort of loop i am guessing.

    So basically someone comes to a page where they have $_POST['number'] = 10

    The page would show 10 input boxes.
  2. James Well-Known Member

Share This Page