Store a formula in a table and use the formula in a javascript/PHP function
- by Muhaimin Abdul
I have a MySql database where part of it handles instrument's depth of water. Each instrument has its own formula of calculation how depth the water when the operator collect the reading I stored the formula for each instrument in database/MySql.
Example formula: [55-57]
this is the simple minus operation, where the number is actually represent…