0

How to store php data form into the database

And i wanna know how we retrieve the data we stored and how to use them

1st Apr 2022, 7:30 PM
Ifnan
Ifnan - avatar
4 Answers
+ 3
I would start with the php lessons
1st Apr 2022, 8:12 PM
Paul K Sadler
Paul K Sadler - avatar
+ 1
After you do the lessons, there are 25 free solution challenges that you can complete in the code playground to further your experience with php.
7th Apr 2022, 7:41 PM
Paul K Sadler
Paul K Sadler - avatar
+ 1
To insert html data into db table, you would need to setup db table with a db schema From frontend, html file, set the select input in a form tag, form tag with PHP action and method attributes. Setup a PHP script to process post data and save the data into db table from backend. For more details, please refer to this file https://code.sololearn.com/w8oD4T90kXp6/?ref=app I have built and tested this PHP script with a MySQL db table for the solution of this question https://www.sololearn.com/Discuss/3017349/?ref=app Please note that you need a PHP server with MySQL db installed before you could execute this script, and it would not run from the code playground.
17th Apr 2022, 5:00 PM
CalviŐČ
CalviŐČ - avatar