F
F
for922015-09-22 19:35:20
PHP
for92, 2015-09-22 19:35:20

How to save the entered data in the form, in the database?

Sorry for the probably dumb question. I have a local server using xampp, for example, I fill out the First name, last name and age forms, how can I make this data be saved to the database on the server?) And so that later they can be viewed through the browser and edited in it.?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladimir Martyanov, 2015-09-22
@vilgeforce

You can make a server script that will receive data from the form and add it to the database. And the second server script, which will get the data from the database and display the html code to display it.

D
Dmitry Kim, 2015-09-22
@kimono

The form must be sent to the script handler for this form. The data from the form will come in the get or post array. The script further processes this data and, if everything is fine, saves it to the database. To read data from the database, you need another script that will make a request to the database and draw html.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question