Heya John,

If the data will eventually be coming from a database, don't use XML.
See my previous reply on why not to use JSON with a text file ;-)

When communicating with a database I'd avoid using XML (and even JSON for that 
matter).
Have a look at Flash Remoting instead which allows you to receive data in a 
format that Flash understands.

For PHP, there's AMFPHP:
http://www.amfphp.org

Now with all that said, I'm wondering why you'd want to store menu information 
in a database at all.
Storing this in a database doesn't really make sense to me:
    about us
    news
    portfolio

regards,
Muzak

----- Original Message ----- 
From: "John Trentini" <[EMAIL PROTECTED]>
To: <flashcoders@chattyfig.figleaf.com>
Sent: Saturday, May 05, 2007 10:04 AM
Subject: Re: [Flashcoders] LoadVars array.length problem


> That sounds right,  even to me, eheheh!
>
> I was trying to test my skills with AS.
>
> I eventually need to get the data, via PHP, from a database.
> I suppose I will need to format my php response to produce an xml file but I 
> am quuuuuuite new to this and am tentative..
>
> Thanks MuzaK ^_^
>
> JohnT


_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to