Copy link to clipboard
Copied
I would like to extract some fields from a form and insert the data on another web page.
This other webpage would be like a calendar and the data from the form would be inserted in to the calendar according to the date entered in the form.
I was just wondering what would be the best way to do this?
Thank you in advance.
if you change page (from FORM to CALENDAR), you can also simply use the $_POST object to transmit all the needed datas
and if you dont change page to load the calendar, don't forget about AJAX transmitting a formdata object Using FormData Objects - Web APIs | MDN
Copy link to clipboard
Copied
All roads lead to Rome! In other words, there are many ways to achieve this, namely
MySQL (my preferred solution)
Web Storage, although I have not used it, is probably the best solution for your project.
Copy link to clipboard
Copied
if you change page (from FORM to CALENDAR), you can also simply use the $_POST object to transmit all the needed datas
and if you dont change page to load the calendar, don't forget about AJAX transmitting a formdata object Using FormData Objects - Web APIs | MDN