# How do I send variables to a php file?

**URL:** <https://forum.kirupa.com/t/how-do-i-send-variables-to-a-php-file/150860>\
**Category:** flash\
**Created:** [June 11, 2005, 2:09am UTC](https://forum.kirupa.com/t/how-do-i-send-variables-to-a-php-file/150860 "2005-06-11T02:09:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![MTsoul](https://avatars.discourse-cdn.com/v4/letter/m/91b2a8/32.png) [@MTsoul](https://forum.kirupa.com/u/MTsoul)\
**Post date:** [June 11, 2005, 2:09am UTC](https://forum.kirupa.com/t/how-do-i-send-variables-to-a-php-file/150860/1 "2005-06-11T02:09:46Z")

</div>

Hey all,

I’ve searched everywhere, but can’t find one thread/result that suits my situation.

I’m trying to post data into a database, through php. I don’t want to reload the page, so I want this to happen through Flash. I thought about using the LoadVars() class, but it just simply isn’t working.

How would I about doing this? Say I have three variables, blah1, blah2, and blah3, all of which are strings. How do I send these variables to a php page with the POST method?

Thanks
