+ 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

13th Dec 2018, 2:11 PM
Ikechukwu Okonkwo
Ikechukwu Okonkwo - avatar
8 ответов
+ 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.
14th Dec 2018, 8:29 AM
Ipang
+ 4
// Zohir I just tried it now...it doesn't work
14th Dec 2018, 2:28 AM
Ikechukwu Okonkwo
Ikechukwu Okonkwo - avatar
+ 4
😎iYkE4LiFe😎 Or else, You can create a HTML codes without php
14th Dec 2018, 7:26 AM
program
program - avatar
+ 4
Ipang now I get it...👍👍👍👍
14th Dec 2018, 8:54 AM
Ikechukwu Okonkwo
Ikechukwu Okonkwo - avatar
+ 4
// Zohir thanks for your response too..😋😋😋
14th Dec 2018, 8:54 AM
Ikechukwu Okonkwo
Ikechukwu Okonkwo - avatar
+ 3
Without using form tag.
13th Dec 2018, 7:40 PM
program
program - avatar
+ 2
Hi 😎iYkE4LiFe😎, Maybe because you have created a calculator using <form> tag.
13th Dec 2018, 7:32 PM
program
program - avatar
+ 1
// Zohir yes...any alternative way to make it work??
13th Dec 2018, 7:38 PM
Ikechukwu Okonkwo
Ikechukwu Okonkwo - avatar