get or post method | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

get or post method

How do you get information from the user in a form and how do you update it?

7th Nov 2016, 1:33 PM
koder
koder  - avatar
1 Answer
+ 2
You cannot get by using html, you need to use programing language, html is a markup language. use JavaScript or PHP for post or 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 and modified it as per your requirement.
7th Nov 2016, 1:55 PM
Aditya kumar pandey
Aditya kumar pandey - avatar