No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
5 Posted Topics
e.g. document.write( '<p> totalTax </p>') should be document.write( '<p>' + totalTax + '</p>');
That short little snippet that you pasted in looks like you have the comma inside the quotes, which won't work. Like minitaurus said, post your code for a better response.
you probably want to use strtotime(): http://php.net/manual/en/function.strtotime.php
If you use a library like jQuery, you can easily have the results of one ajax call feed into another function for further processing. http://api.jquery.com/jquery.ajax/ and scroll down to the entry for success. Using a library like jQuery frees you up to concentrate on your code and leave the ajax …
my go to for formatting cash is: echo sprintf("%01.2f",$someFloat);
The End.
JoeK168