Skip to content
Advertisement

Tag: calculator

PHP Variable value based on user input

I’m building an application to help customer calculate various product prices. Right now I’m building a feature where user enters a single number to the application and submits a form. Based on that number, I would like to define another variables value. What I’d like to achieve If user input is number between 1-10, set variable number to 200. If

Advertisement