Hi,
I am working on a PHP form with a set of input fields, and 3 buttons.
1. The ADD button will take the input and add it to a table displayed on the same page just bellow the input fields.

2. The SUBMIT button will deposit the entire table to another page for processing.

3. The Reset button will reset the input fields.

I am unable to define the working of the 1st button.

Please help me out.

I think AJAX is your answer.
have a file that outputs a table based on the supplied input
when the user changes the select menu this file is re-retieved and output in a div below the form, and when form is processed have javascript take the content from the div, place it in a hidden field and post the form.

Hopefully this helps!!

you can using through AJEX you can sen url using send()pass value

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.