Hi everybody!Im newbie to php. please,suppose we have a MYSQL DATABASE with table CUSTOMERS.In the page: addCustomer.php, we echoed this table and it returned us a number of rows.on the same page, we have a form that contains empty fields. (name, birth, adress).Questions:How to add a button front of each displayed row? and how to when we click on the related button we fill the content of the form and submit it to the table CUSTOMERS.
we want to verify if the customer exists when echoing...if so we click on the relative row, and the form is filled. if no we fill the form manually
Put a button front of cell rows from a PHP echoed table and click on specific row to fill a form
in PHP
Posted
Hi everybody!Im newbie to php. please,suppose we have a MYSQL DATABASE with table CUSTOMERS.In the page: addCustomer.php, we echoed this table and it returned us a number of rows.on the same page, we have a form that contains empty fields. (name, birth, adress).Questions:How to add a button front of each displayed row? and how to when we click on the related button we fill the content of the form and submit it to the table CUSTOMERS.
we want to verify if the customer exists when echoing...if so we click on the relative row, and the form is filled. if no we fill the form manually
thanks