echo '<'."?xml version=\"1.0\" encoding=\"UTF-8\"?".'>';

  Also, you may set short open tags off so php is only activated between
<?php and ?>.


--

  Julio Nobrega.

Because happiness is a warm gun
Bang-bang shoot-shoot

"Daniel Rose" <[EMAIL PROTECTED]> wrote in message
004301c10f49$a9b18fe0$0a01a8c0@w98">news:004301c10f49$a9b18fe0$0a01a8c0@w98...
> Hi,
> I have looked through the history of the list, and I see that several
people
> have said that PHP fully supports XHTML. I have some problems using XHTML
> with PHP, namely parse errors, such as a parse error on the first line of
> every XHTML doc.
> <?xml version="1.0" encoding="UTF-8"?>
>
> Version of PHP is 4.0.6, and it was compiled like so:
> './configure' '--with-apxs=/usr/local/apache/bin/apxs' '--with-xml'
> '--with-gd=/usr' '--with-jpeg-dir=/usr/local' '--with-png-dir=/usr/local'
> '--with-zlib' '--with-mysql' '--enable-track-vars' '--with-mcrypt'
> (all from phpinfo())
>
> Does anyone have any ideas?
> Please CC replies as I am not subscribed to the list
> Sincerely,
>
> Daniel Rose
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to