Mobile app version of vmapp.org
Login or Join
Margaret670

: Store a formula in a table and use the formula in a javascript/PHP function I have a MySql database where part of it handles instrument's depth of water. Each instrument has its own formula

@Margaret670

Posted in: #Javascript #Mysql #Php

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 the id of a row. How do I represent those number with id of a row and later convert it to javascript readable code. I simply want to do keyup event where everytime user key in something into text field then the other part of HTML would reflect changes based on formula that I fetched from database

FYI, I'm using BackboneJS together with RequireJS

10% popularity Vote Up Vote Down


Login to follow query

More posts by @Margaret670

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme