If I make a Questions page then how I get other users answer data? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 1

If I make a Questions page then how I get other users answer data?

14th Nov 2018, 2:59 PM
Dipesh
Dipesh - avatar
8 Respostas
0
I guess you are talking about a website with a form that users fill and then submit. If so, you can start with a basic html form, an input text and a submit button. Then you will need PHP to receive datas throught the variable $_POST. Internet got plenty examples of simple forms if it's what you want
14th Nov 2018, 10:24 PM
Geoffrey L
Geoffrey L - avatar
0
Thanks bro to help me. I am thinking that I will start PHP as soon as possible.
15th Nov 2018, 8:19 AM
Dipesh
Dipesh - avatar
0
You're welcome. The idea is to create a form, when on click to submit, a variable named $_POST, send form datas to PHP. With PHP you can see datas inside. Take your time to learn, it has few things to understand in this exercise : - What is PHP for. Why there are server languages. - What is $_POST, the difference with $_GET, why prefer $_POST. - How to merge PHP and HTML - ...
15th Nov 2018, 8:31 AM
Geoffrey L
Geoffrey L - avatar
0
Yes you right I will do that language shortly You complete PHP course Can you tell me after a user submit data where I can see their submitted data ?
15th Nov 2018, 8:37 AM
Dipesh
Dipesh - avatar
0
Inside $_POST... then you will need to display it with some HTML
15th Nov 2018, 8:59 AM
Geoffrey L
Geoffrey L - avatar
0
Geoffrey Levenez I have an Problem to make code Can you help me to solve and tell the problem?
15th Nov 2018, 10:17 AM
Dipesh
Dipesh - avatar
0
SoloLearn is make for that. Share your code here like that everyone can help.
15th Nov 2018, 10:25 AM
Geoffrey L
Geoffrey L - avatar
0
Ok
15th Nov 2018, 10:26 AM
Dipesh
Dipesh - avatar