Re: ? PHP in XML document

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux