Jump to content

Calc In Php


griser

Recommended Posts

Hey there!

 

I've been working on a Calculator with button in PHP and im having some trouble connecting the buttons to my php code.

For an example: If i press the first button ("1") Then it's suppose to show up the number "1" on the screen. Mabye it's abit hard to explain but i hope you understand what i mean here.

So i would be delight if someone could throw an eye on my code and tell me and explain what i have too do too fix this! Here is my code:

 

http://pastebin.com/FF3NBACa

 

(sorry if im posting this at the wrong place, im new to this forum :)! )

 

Mvh Griser

Link to comment
https://forums.phpfreaks.com/topic/269725-calc-in-php/
Share on other sites

You should read up on the superglobals in the PHP manual, and perhaps the Getting Started tutorial as well. In any case, you'll find the PHP manual a indispensable tool and reference for any level of PHP work.

 

PS: This is not a RegExp problem, but basic PHP coding.

Link to comment
https://forums.phpfreaks.com/topic/269725-calc-in-php/#findComment-1386652
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.