Find Jobs
Hire Freelancers

PLEASE DELETE ME -- I figured out how! (using $HTTP_POST_VARS[] and foreach...)

$-1-4 USD

Closed
Posted over 19 years ago

$-1-4 USD

Paid on delivery
Here is the situation: 1. I query a database (SELECT) 2. I want to output the query result to the screen and have one of the fields in a input form field ('textbox' I guess). 3. the user will be able to change the textbox's contents if they want 4. the user will press a form submit button and the data will be sent to a PHP page which gets the POST variables and updates the database appropriately Problem: I don't know how to make each input textbox place its value in an array. I can make each textbox have a name like A1, A2, etc, but then I cannot loop through them -- i'd have to specifically call $A1, $A2, etc hard-coded in the file (not good). Solution: How can I have those inputs put their info in an array? I tried using brackets in the name property of the input textbox, but this did not work. I am using PHP v4.x -- I'm sure this is pretty basic, but I cannot think of a succint way to ask this, and so cannot seem to find it on google or anything. Your help would be greatly appreciated -- thanks! ## Deliverables Help :) ## Platform WinXP, PHP4.x, MySQL4.x
Project ID: 3360449

About the project

Remote project
Active 20 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs

About the client

Flag of UNITED STATES
United States
5.0
2
Member since Jul 18, 2000

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.