hay, i have two textboxes i.e
book_name and author
and a button that save the data to database. my question is it possible to create textbox dynamically i.e when user click on add another book button two textboxes generated and when he click on save button both of rows(data of 4 texboxes) saved into database.
Is it possible in php…? (in phpmyadmin) we can save multiple records in a single table on clicking at save button any help would be greatly appriciated
hay, i have two textboxes i.e book_name and author and a button that save
Share
Not with PHP, but with Javascript. PHP is a server-side language, all the code is processed before your browser gets the HTML.
Try using this code: