Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I have created a simple HTML form with two input sections, Name and age, I want to connect the form with xampp server. I have installed xampp on my PC. Can anyone help me with the procedure for linking the form with the xampp.

The form is in .html format.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
129 views
Welcome To Ask or Share your Answers For Others

1 Answer

XAMPP is a collation of applications (apache, mysql, php and perl) that will help you serve and process html, php, mysql and perl commands you send to it (otherwise known as serve a webpage).

If you're seeing your form, you're probably already using Apache to serve it (the html file you made) and probably what you want then is the server to receive that info and save it to a database or display it onscreen, modify something, etc.

To do that, you need to prepare another file (probably a PHP one, pointed out in the action of your form) that will receive the post/get data from your form and do that something with that data.

With that in mind, you should start with some basic PHP form crash course or with W3 Schools PHP Form Handling or PHP Manual Tutorial about Dealing with Forms


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...