Can anyone make a calculator using PHP and HTML? | SoloLearn: Learn to code for FREE!

0

Can anyone make a calculator using PHP and HTML?

Use a calculator using PHP function, Switch, $_Get and HTML form, input

1/10/2017 11:13:16 AM

Rashed Ahmed

8 Answers

New Answer

+6

I don't know php. sololearn doesn't even support php.

+6

oh I was wrong, they have php. woops. idk, look on code playground or Google for the awnser. Or, yknow, use the course to learn how to build it. after all, what's the point of taking the course if you're not trying to learn?

+5

yes. people have done it numerous times.

+4

The problem you're going to have on SoloLearn is interacting with PHP twice. Once you see the results--of anything--how are you going to interact again?

+3

You could fire up an instance at https://codeanywhere.com/ or Amazon Web Services https://aws.amazon.com/ Both are free (AWS 1 year). Then you could tinker with AJAX, REST or WebSockets (or even URL strings here on SoloLearn) to ship commands off to PHP and process answers in the browser. But if you don't have to use PHP for your assignment, Javascript's a better idea.

+2

I guess it's much easier to make a calculator using Javascript. It's simpler and it won't cost server space for the calculations.

+1

I completed PHP tutorial on Sololearn. But I have a task, make a basic calculator.

0

please, share your code.