+5

[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

💫ιукє4ℓιƒє💫

8 Answers

New Answer

+7

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.

+4

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

+4

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

+4

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

+4

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

+3

Without using form tag.

+2

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

+1

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