RTT Posted September 15, 2009 Share Posted September 15, 2009 Please could someone help me with this query. I am trying to use a javascript function that inserts addtional textboxes on a page in a form and then I would like to take that data that is inserted into these textboxes depending on the number added by the user via the javascript function and insert this data into a mysql database using php and each text insertion must be on a new line within the database. Example: textbox 1 = joe and textbox 2 = soap textbox 3 = sam and textbox 4 = adams However each textbox will write to the same coloumn so textbox 1 to colomn 1 and textbox 2 to coloumn 2 and textbox 3 to coloumn 1 and textbox 4 to coloumn 2. I trust I am making sense here. I know it will be something to do with an array using variables and a loop function. [attachment deleted by admin] Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.