|
Posted by Torgny Bjers on 08/15/05 10:27
Labunski wrote:
>Hello,
>
>Is it possible to write some PHP code lines in the XML document?
>
>e.g. I want to add <?php require_once("read_database.php"); ?> to the xml
>document, but
>I don't know the right syntax to do this.
>
>Btw, I need this, cause I'm trying to make CMS system for Flash page.
>
The easiest way to do this in Flash is to call a PHP script instead of
an XML file in Flash, that way you can render the XML document however
you want with PHP and load data directly from the database into XML or
whatever you wish. So, replace the XML filename for your PHP script, and
that way you should be able to add querystrings and whatnot too.
Regards,
Torgny
[Back to original message]
|