I've got a flash application that I point at an XML file and it generates a flip book, what I'm trying to do is to create the xml document and pass the name onto the flash flipbook. So far I've done the page using PHP and MySQL. The data I want to pass onto the XML document is from the query results... I was trying to use _SESSION variables to name the XML document after the "session" so as to keep it different from any other visitor to the website... but I'm at a loss as to how to get those query results from the PHP query stage to the XML document and then off to Flash......... Any suggestions??