# Noob question about loading query string to SWF

**URL:** <https://forum.kirupa.com/t/noob-question-about-loading-query-string-to-swf/224404>\
**Category:** flash\
**Created:** [May 2, 2007, 4:21am UTC](https://forum.kirupa.com/t/noob-question-about-loading-query-string-to-swf/224404 "2007-05-02T04:21:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![flagman5](https://avatars.discourse-cdn.com/v4/letter/f/ebca7d/32.png) [@flagman5](https://forum.kirupa.com/u/flagman5)\
**Post date:** [May 2, 2007, 4:21am UTC](https://forum.kirupa.com/t/noob-question-about-loading-query-string-to-swf/224404/1 "2007-05-02T04:21:18Z")

</div>

Hi All

I just recently started reading about flash, and I dont really know to find this information. But assuming I got the php/mysql side taken care of, and I got the php to be outputting the var1=data1&var2=data2…

Is it possible to publish a SWF and then give it a query string, like SWF?id=123 so that the 123 can be passed into the php file, so when the flash calls the php, it would loadVariables with php?id=123

I hope my question makes sense. Any instructions to go about doing this would be really helpful!!

Thanks!
