463428 mysql & php file that create javascript code
N/A
Paid on delivery
we have 2 files(html+java ) fist one is form that have one text box when the user enter number in text box the javascript code calculate something and then show out another number like currency convertor
100 USD ==> 19384 Rial
we wanna something that staff can put the javascript variable in database and php get all of them and then create javascript file and echo on page !! i mean convert static java script to dynamic one ! i don't wanna ajax ! just simple java script creation by php and mysql.
the mysql should . at least we need 3 variable can edit by staff
input= digit from 0 ta ...
out put= (digit * var1 ) + (digit * var2 ) + var3
sample
input= 20
output= (20 * 800 ) + ( 20* 0.09) + 1000 = ...
note1: the variable is not same for all the digit ! i means that
if user choose digit between 0 to 100 var3 should be 1000
but if choose between 100 ta 200 var3 should be 1200
Project ID: #2209323