Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Big Question!!! Update XML Doc with PHP

New Here ,
Feb 25, 2009 Feb 25, 2009
Hello all, I have a big question I am afraid but I dont even know where to begin looking. First off I am a designer, the only way to call me a Developer is that I am really good with Dreamweaver CS4. lol... here is my question:

I am XML and Flash together to creat dynamic content within my flash site. I was wondering if anyone had a clue how to add new content to an XML file with say a Form. This would make my life unbelievable easier... So if anyone could point me to a tutorial on the subject or help me with one I would be eternally grateful! thanks!
TOPICS
Server side applications
553
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 25, 2009 Feb 25, 2009
"tyrrin" <webforumsuser@macromedia.com> wrote in message
news:go4hrk$6j7$1@forums.macromedia.com...
>
> I am XML and Flash together to creat dynamic content within my flash
> site. I
> was wondering if anyone had a clue how to add new content to an XML
> file with
> say a Form.

Store the material in a database, and use PHP to generate the XML
file. Instructions on how to generate the XML are here:

http://labs.adobe.com/technologies/spry/samples/utils/query2xml.html

--
David Powers
Adobe Community Expert, Dreamweaver
http://foundationphp.com

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 25, 2009 Feb 25, 2009
.oO(tyrrin)

>Hello all, I have a big question I am afraid but I dont even know where to
>begin looking. First off I am a designer, the only way to call me a Developer
>is that I am really good with Dreamweaver CS4. lol... here is my question:
>
> I am XML and Flash together to creat dynamic content within my flash site. I
>was wondering if anyone had a clue how to add new content to an XML file with
>say a Form. This would make my life unbelievable easier... So if anyone could
>point me to a tutorial on the subject or help me with one I would be eternally
>grateful! thanks!

Depends on what you want to do, where the data is coming from etc.
But for modifying XML you can use PHP's DOM or SimpleXML extensions.

Micha
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 26, 2009 Feb 26, 2009
Thanks for the reply's! (Michael Fesser) what extensions are you speaking of if you dont mind? Thanks!
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 26, 2009 Feb 26, 2009
LATEST
.oO(tyrrin)

>Thanks for the reply's! (Michael Fesser) what extensions are you
>speaking of if you dont mind? Thanks!

The ones I mentioned. Requires some hand-coding, though ...

http://www.php.net/DOM
http://www.php.net/SimpleXML

Micha
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines