i am fetching values from a database in a page using while loop..the page where i ma fetching values from database have 8 columns , out of 8 , 6 cloumn values are coming from database , now on this page i have added two columns , now what i want is that when i enter values in those two columns and click on update button , the whole table should get inserted in a new table .........

1) in your html form , you have to create form elements, with all text boxes and update button
2) on update submit form to say process.php page
3) capture all submited html values using global $_POST or $_GET array
4) write insert/udpate query code in process.php page
5) send back error or sucess message to first page

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.