Hi there!
I need some assistance. I'm a PHP noob and have been given a project to build a php 'calculator' for a client.
Basically what needs to happen is the following -
I have a table with predefined values, they are all numbers. The user will go to a form and add a number, this number then needs to be compared to the first column of the table after which it then needs to display only that row's values. As the numbers are predefined in the table the number the user enters then also needs to be rounded off to the nearest value found in the table.
I've searched the internet and found snippets of code but can't quite understand how to put everything together. I understand how it should work, but just can't get there.
I hope this all makes sense. If there is anyone who can help I would appreciate it a lot!
Thanks