Dear Arindam,
This is not a MathJax problem: if is a problem with your script that
is sending the contents of the page.
If you look at the page source (Firefox I am doing Tools -> Web Developer
-> page source) you will see that the first dollar sign is missing in
each line. Also, some of the backslashes ("\frac" for example) are
replaced by funny characters.
I haven't uses php in a while, but if you write $x^2 = 3$
and "$x" is interpreted as a variable, then you will get something
like "^2 = 3$" because $x (the variable) has no value.
Add a backslash in front of the dollar signs and it should be okay.
(As I guessed in my first email: not enough backslashes).
Regards,
David