How do i create forms and get informations submitted | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How do i create forms and get informations submitted

I have been able to create a web page and the page contains a form where users fill in names and comments. how can I get those information's submitted by users.?

25th May 2017, 7:25 PM
Michael Nwokoro
Michael Nwokoro - avatar
1 Answer
+ 2
depending on the method attribute of your form you can access the submitted data via PHP either in the $_GET or $_POST array. these are associative arrays, so their indices are the names of the form elements.
25th May 2017, 7:30 PM
Mario L.
Mario L. - avatar