kickstart Posted March 11, 2010 Share Posted March 11, 2010 Hi I have an app which is very heavily dependent on javascript and ASP. One part written in javascript calculates some figures (based on formulas stored in a database), based on the data on screen. This works fine. However similar figures are now required as part of an extracted report, generated on the client side. Short of duplicating the javascript code in php, any suggestions? While duplicating the code is possible it just means double the maintenance (and a good chance that at some point they will produce different results). All the best Keith Link to comment https://forums.phpfreaks.com/topic/194917-common-client-side-and-server-side-code/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.