RE: error : implementing mathml on my website

I think the problem is that PHP expects anything starting with
<? to be PHP code.
Try echoing it instead:
<? echo "<?import namespace='m' implementation='#MathPlayer' ?".">" ?>
or insert some blank php to separate < and > from ?:
<<? ?>?import namespace="m" implementation="#MathPlayer" ?<? ?>>

See, for example,
http://us2.php.net/manual/en/language.basic-syntax.php#language.basic-syntax
.phpmode

eduardo.

> -----Original Message-----
> From: pas.faut@free.fr [mailto:pas.faut@free.fr]
> Sent: Saturday, March 06, 2004 1:32 AM
[..]
> <?import namespace="m" implementation="#MathPlayer" ?>
[..]
> Here we are. The line <?import namespace..... create a parse 
> error. Php seems 
> to believe that it is not xml language....what must i do ??>
<title>main</title>
>   <meta http-equiv="Content-Type" content="text/html" />
> 
> <object id="MathPlayer" classid="clsid:32F66A20-7614-11D4-BD11-
> 00104BD3F987"></object>
> 
> <?import namespace="m" implementation="#MathPlayer" ?>
> 
> 
> </head>
> 
> <body bgcolor="#F9EC93" text="#993300">
> 
> 
> <? $i = $debut_page1 + 6 ; $j= $debut_page2 + 6 ?>
> <? $k = $debut_page1 - 6 ; $l= $debut_page2 - 6 ?>
> <? $pageG = 1+2*($debut_page1/6) ; $pageD = $pageG + 1 ?>
> <center><a href='mainMaths.php3?debut_page1=<? echo "$k" 
> ?>&debut_page2=<? 
> echo "$l" ?>'>page précédente</a>-- .....
> 
> Here we are. The line <?import namespace..... create a parse 
> error. Php seems 
> to believe that it is not xml language....what must i do ??
> 
> 
> Thank you for your answers.
> 
> Pascal
> 
> 

Received on Monday, 8 March 2004 13:38:36 UTC