PHP calculator with its result on a different html page

Lately I have been designing and coding a website for one of my clients. One of the functions he needs is a calculator in PHP. The problem is, I can get the calculator up and running and I could probably make the calculator in jQuery as well, but he wants the result of the calculation on the next page. The calculator should be able to do simple calculations that include: multiplication, dividing, subtracting and adding. So far I have styled up and made the HTML structure of the calculator, but when it comes to the PHP code... I have no clue. So is there anyone here that has any experience of coding a calculator but showing its result in on a different page? **Preferably, you could use the HTML structure I have built:**
  • 1
  • 2
  • 3
  • X
  • 4
  • 5
  • 6
  • /
  • 7
  • 8
  • 9
  • 0
  • +
  • -

Do you have any experience with PHP? Or is there a specific task which you are having problems finding a solution for? In that case your existing PHP code would be useful.

以上就是PHP calculator with its result on a different html page的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » HTML5 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准