[SOLVED]PHP playground not working OR what???

I started learning PHP as of recent in SoloLearn. I noticed today that I can't make a simple Calculator in PHP display answers when I click on the submit button. Instead it opens my phone browser automatically and ends up not displaying anything. How can I fix this... Here is the code: https://code.sololearn.com/wn550fua5dK8/?ref=app

12/13/2018 2:11:37 PM


8 Answers

New Answer


Form submission is not supported on SoloLearn Code Playground, solution would be to use JavaScript instead, or install XAMPP ( https://www.apachefriends.org ) if you're using laptop/PC, or find an app that simulates something similar in the store (Play or Apple) for your mobile device.


// Zohir I just tried it now...it doesn't work


😎iYkE4LiFe😎 Or else, You can create a HTML codes without php


Ipang now I get it...👍👍👍👍


// Zohir thanks for your response too..😋😋😋


Without using form tag.


Hi 😎iYkE4LiFe😎, Maybe because you have created a calculator using <form> tag.


// Zohir yes...any alternative way to make it work??