Problem in $_GET?help me? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Problem in $_GET?help me?

I made HTML form <html> <head> </head> <body> <form action = "form.php" method= "get"> <p>Name:<input type="text" name="name"></p> <p><input type= "submit" name="submit" value="Submit"></p> <p>please click submit button</p> </body> </form> </html> and php file <?php echo $_GET["name"]; ?> and after submitting name as "xyz" it displays <?php echo $_GET["name"]; ?> instead of xyz....

21st Oct 2016, 8:11 AM
Ashish Neupane
Ashish Neupane - avatar
2 Answers
+ 1
get going
26th Oct 2016, 1:11 PM
Diwas
Diwas - avatar
0
form action ma get should be capitalize,check
31st Oct 2016, 8:24 AM
Diwas
Diwas - avatar