0

Hi guys, how can I code a calculator in php with buttons?..

Php calculator

26th Mar 2020, 12:27 PM
Sula Siwale
Sula Siwale - avatar
7 odpowiedzi
+ 1
Sula Siwale Technically, PHP can be used but that will mean that for each button click a server request will be sent. Which is not worth it considering users with 2G or slow 3G connections.
27th Mar 2020, 3:01 PM
Ore
Ore - avatar
+ 1
Yes I know, but can't PHP also be used to validate HTML buttons?..I.e. calculator buttons???
27th Mar 2020, 11:19 AM
Sula Siwale
Sula Siwale - avatar
0
So PHP can't work?
27th Mar 2020, 9:59 AM
Sula Siwale
Sula Siwale - avatar
0
Sula Siwale PHP is a backend language. It is used to recieve requests from browser and create content programmatically on the server side.
27th Mar 2020, 10:39 AM
Ore
Ore - avatar
0
Ohhh.. I get you, so the higher the logical operations in the code, the slower the page right?
27th Mar 2020, 6:22 PM
Sula Siwale
Sula Siwale - avatar
0
Sula Siwale yes, in a way
27th Mar 2020, 7:52 PM
Ore
Ore - avatar