When using the ASCIIMathML.js script from within a .php file, the line
<?import namespace=”mml” implementation=”#mathplayer”?>
has to be replaced with
<? echo ‘<?import namespace=”mml” implementation=”#mathplayer”?>’?>
(to avoid a syntax clash between php and the <?import..> directive).
I hope this resolves the problem that was first mentioned in this thread.