# Sending variables while loading xml

**URL:** https://forum.kirupa.com/t/sending-variables-while-loading-xml/202552
**Category:** Uncategorized
**Created:** [October 2, 2006, 5:30pm UTC](https://forum.kirupa.com/t/sending-variables-while-loading-xml/202552 "2006-10-02T17:30:29Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![SAVAGER](https://avatars.discourse-cdn.com/v4/letter/s/85f322/32.png) [@SAVAGER](https://forum.kirupa.com/u/SAVAGER)
#### Post date: [October 2, 2006, 5:30pm UTC](https://forum.kirupa.com/t/sending-variables-while-loading-xml/202552/1 "2006-10-02T17:30:29Z")

</div>

I came across a great tutorial on here on how to output xml with php from a mySQL database. It’s a great little script and is very useful to load data into flash.

Only problem is, I need to query different things in the database everytime I call this script from flash.

So my question is, is there a way to send variables to the script (ie to change queries, table names) so that I could have it output different xml.

I can handle modifying all of the php, I just don’t know if there’s a way to send variable from flash to php in this way.

Thanks in advance
