[Skunkworks] capturing the javascript calculations in a mysql database PHP