# Sending variables to a PHP script

**URL:** <https://forum.kirupa.com/t/sending-variables-to-a-php-script/288025>\
**Category:** flash\
**Created:** [May 9, 2009, 3:36pm UTC](https://forum.kirupa.com/t/sending-variables-to-a-php-script/288025 "2009-05-09T15:36:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![NiallTL](https://avatars.discourse-cdn.com/v4/letter/n/d26b3c/32.png) [@NiallTL](https://forum.kirupa.com/u/NiallTL)\
**Post date:** [May 9, 2009, 3:36pm UTC](https://forum.kirupa.com/t/sending-variables-to-a-php-script/288025/1 "2009-05-09T15:36:23Z")

</div>

Hi people.  
I’m using AS2 to send the value of an input text box to a PHP file to display on my website. Imagine a comment-posting situation.  
I’ve been looking up on sendAndLoad() and LoadVars() but everything I find either teaches something that doesn’t work or overcomplicates things. All I’d like to do is press send \> appears in PHP file, for example a script called askquestion.php.  
Could someone help me here, either with a little walkthrough or example?  
Thanks.
