PDA

View Full Version : Calculator help


Jaynesh
24 Jan 2006, 18:37
Im learning php and to practise i thought il make a little calculator.

Ive a made a simple basic one ( you can see it in action here http://www.lyricalsoundz.com/learning.html )

Right now it only multiplies the two numbers.

How can i make an option in the form to choose if i want to multiply, divide, add, subtract.

I can do the HTML form part i just need help in the php part.

Heres the code...


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------