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
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.

Edited by Christian F.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.