|
AMEN!
Forget using JavaScript for this. Use PHP code. Any calculation you do in JS code can instead be done in PHP.
And *VALIDATE* that the input from the browser that tells the PHP code what to do is legitimate.
__________________
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.
|