On my site I enable a user to trade through historical stock market data,see [login to view URL] I have created a javascript loop so the user can start and stop feeding of new data, the loop checks with every new datapoint if the user would have positive equity or not. If the user has negative equity it calls a new site with a trading report. The stored trading data (array with dates, performance of user, performance of stock) is in a javascript array. So before the trading report is run I need the javascript arrays to be transformed into a php array which can be stored as a session-array or sent to the trading report via $_POST and to be called when the trading report site has been called. Additionally the user can call at any time a trading report. So there are two ways for it to be called.
I have been using [login to view URL][].submit as a workaround and it handles both cases well in Safari and in Chrome but doesn´t work in Firefox and Opera when the javascript loop has calculated negative equity. I need a solution to this, either with improvements of my current code or with a different solution which works in the beforementioned browsers.
Ding Ding Ding! Trading is now in session!!! I normally don't work for peanuts, but today is your lucky stock and forex day! This low bid is just to build my profile. I will fix your bug, but not restructure your code. It is a mess. However I'll give you a tip for your future on how you can update your outdated coding style.
Accept my bid, then message me your exact steps to reach negative equity (bug), then sit back and relax and I'll return with the patched code.