There's a problem with getting submit data | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

There's a problem with getting submit data

Hey, Guys. I'm trying to make a form and get it's data with PHP. Like if anyone put their name on the form, it will show upon submit (example: Your Name is: Donald Trump). I'm using $_GET for this, but when I click the submit button. It shows nothing, only a blank white page. Is it a code problem or problem in the SoloLearn app? Here you can check my code if there's any problem - https://code.sololearn.com/wH52D7UyulKp/?ref=app

12th Apr 2018, 12:00 PM
Rakib Khan
Rakib Khan - avatar
6 Answers
+ 8
You can't do that in the playground
12th Apr 2018, 12:33 PM
Toni Isotalo
Toni Isotalo - avatar
+ 3
Xan & 🇳🇬Brains bro tried it on wamp server and it worked fine.
13th Apr 2018, 2:00 AM
Rakib Khan
Rakib Khan - avatar
+ 2
Have you tried this outside the Code Playground?
12th Apr 2018, 12:28 PM
Emma
+ 2
Rakib Khan Glad you got it sorted out.
15th Apr 2018, 10:04 AM
Emma
+ 1
not sure that would work in the playground,try it on actual php server
12th Apr 2018, 12:33 PM
᠌᠌Brains[Abidemi]
᠌᠌Brains[Abidemi] - avatar
+ 1
if you want something for fun here on Sololearn better you use javascript.
15th Apr 2018, 10:47 AM
Strange
Strange - avatar