Simple PHP calculator

前端 未结 11 842
独厮守ぢ
独厮守ぢ 2020-12-14 12:01

I\'m creating a basic PHP calculator that lets you enter two values and chose your operator then displays the answer. Everything is working fine except it\'s not outputting

11条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-14 12:40

    You need to get the values the same way to get the calculator operation which looks like:

    
    

    Or, to make it easier, just do:

        
    
    
    
    Answer
    
    
    

    The answer is:

提交回复
热议问题