I am using LoadVars.sendAndLoad() to load PHP generated response from database into Flash.

The problem is that I am loading several Rows from MySQL.

Each row represents one folder.

Each row has three fields:

title
folderx
foldery

My output from PHP looks like this:



title=CXZXc&folderx=33&foldery=55&title=DNA&folder x=200&foldery=300&title=Cars&folderx=400&foldery=2 00&


So when using sendAndLoad(), I need to load this long string of variables BACK into Flash but have them into an array so I each Array element can have

title, folderx, and foldery

So something like this

FOLDERS= new Array(new Array("title-1","folderx-1" "foldery-1"), new Array("title-2","folderx-2" "foldery-2"));


something like that. I don't care how the Flash array looks, just so that I can access each 'FOLDER' collection separately.

I feel like I'm almost there..... I know I can use Array.push( ) to push variables into an array.... and perhaps I need to build a delimiter into PHP to designate when we are on a new "row". But I need a push in the right direction. thanks.