Why HTML forms is not working in Code Playground? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Why HTML forms is not working in Code Playground?

I'm trying to build a php based script with html forms. But the Solo Learn Code Playground displays a white blank page when i click on submit button. Is there any solution for my problem? https://code.sololearn.com/wXiCW23WDD4v/?ref=app

15th Jan 2018, 9:45 AM
Anas
Anas - avatar
1 Answer
+ 2
I think the action attribute needs to give a php file address as value but the SoloLearn Code Playground only allows you to write it in one page. I've tried fastly to make it work but I couldn't. But I'm pretty sure it would work if it were two separated files (one .html and one .php) so you could try to make it out of the Playground. If someone knows how to make it work here I would like to know how as much as you.
15th Jan 2018, 11:10 AM
Fernando Siles
Fernando Siles - avatar