How to get the information from my form | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to get the information from my form

I wanna know how to get information from the form i made :) im just going to try it :D

5th Nov 2016, 11:15 AM
Martin Mendoza
Martin Mendoza - avatar
3 Answers
+ 6
You cannot get by using html, you need to use programing language, html is a markup language. use JavaScript or PHP to get like in JavaScript var a = document.getElementById("my").value  if your html tag has id my and in PHP $d=$_GET['my']; if name attribute of html tag is my
5th Nov 2016, 11:28 AM
Aditya kumar pandey
Aditya kumar pandey - avatar
0
In what language? JavaScript or PHP? Just HTML can not do that.
5th Nov 2016, 11:25 AM
Ondřej Doněk
Ondřej Doněk - avatar
0
Well on server your form must validate so therefore using server side language is a must if you don't want to increase the burden on client side
5th Nov 2016, 1:15 PM
Ravi Kumar
Ravi Kumar - avatar