How to add a button for adding dates (from and to) dynamicly by using add buttons in php, html

how to add a button for adding dates (from and to) dynamicly by using add buttons in php, html then insert it innto the database. Using Array and javascript function

For the more or less complex task always try to decompose it into separate sub-tasks.

You see, JS functions has nothing to do with “pg” database. So you definitely should split your task into parts. Start from JS and as soon as you succeed with sending the proper data to PHP, only then start with any database stuff.

2 Likes

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.