Someone on the forrest list had this
problem. Vadim responded with:
According to http://www.php.net/manual/en/language.basic-syntax.php,
following should work:
<script language="php">
echo ("some editors (like FrontPage) don't like processing instructions");
</script>
-----Original Message-----
From: Derek Hohls [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 05, 2002 4:35 AM
To: [EMAIL PROTECTED]
Subject: Re: AW: PHP functionalityAlso suggest you do some reading of your own... have alook at the database tutorials linked off of:(the one by Leigh Dodds is especially helpful, and thereis also one by Michal Durdina)and maybe think about a different approach from the PHPone that you may be used to ... i.e. one that fits into theCocoon philosophy of "separation of concerns" (you *do*know about this, I assume ;-)
>>> [EMAIL PROTECTED] 05/11/2002 02:23:01 >>>
Dear Hai,
there is a scripting language available for Cocoon,
namely XSP, where you can execute Java-Statements.
To access databases an alternative approach would be
to use a component as the SQL Transformer.
Greetings!
Rimbert
> -----Ursprüngliche Nachricht-----
> Von: HA, Hai [mailto:[EMAIL PROTECTED]]
> Gesendet: Dienstag, 05. November 2002 12:27
> An: '[EMAIL PROTECTED]'
> Betreff: PHP functionality
>
>
> Hello experts,
>
> I was wondering if anyone out there could provide me with some pointers
> about how to integrate PHP code with Cocoon? Specifically I have some XML
> documents that are serialised to HTML pages but I would like to add PHP
> functionality to enable data to be passed to and from a MySQL database and
> inserted into the final HTML page.
>
> If anyone could please give me some tips or ideas on how this
> might be done
> I will be most grateful.
>
> Regards,
>
> Hai
>
>
> _________________________________________________________
> This email is confidential and intended solely for the use of the
> individual to whom it is addressed. Any views or opinions presented are
> solely those of the author and do not necessarily represent those of
> SchlumbergerSema.
> If you are not the intended recipient, be advised that you have received
> this email in error and that any use, dissemination, forwarding,
> printing,
> or copying of this email is strictly prohibited.
>
> If you have received this email in error please notify the
> SchlumbergerSema Helpdesk by telephone on +44 (0) 121 627 5600.
> _________________________________________________________
>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
>
>
>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>