0
Why my php part not running?
I have made a form using Html and print the input using php but its not working https://code.sololearn.com/WMKfgvOr2MVC/?ref=app
4 Answers
+ 3
SOUPTIK NATH No you can't do here. You can't submit form here because when you submit the form, some action perform which redirect your page to another location so it is not possible here.
Better to use JSON or Ajax to submit information.
+ 3
It is a web code, you should save the code as PHP code instead. FYI Code Playground does not support form submission, so you can't test it in SoloLearn.
0
SOUPTIK NATH PHP code doesn't work in Html file. Your file extension should be .php but here is .html
0
AJ #Level 20 End Day So how should I use it in Sololearn?