# AS / PHP problem

**URL:** <https://forum.kirupa.com/t/as-php-problem/160500>\
**Category:** flash\
**Created:** [August 26, 2005, 10:56am UTC](https://forum.kirupa.com/t/as-php-problem/160500 "2005-08-26T10:56:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tony\_the\_turnip](https://avatars.discourse-cdn.com/v4/letter/t/c4cdca/32.png) [@tony\_the\_turnip](https://forum.kirupa.com/u/tony_the_turnip)\
**Post date:** [August 26, 2005, 10:56am UTC](https://forum.kirupa.com/t/as-php-problem/160500/1 "2005-08-26T10:56:53Z")

</div>

Hi. I’ve been using ActionScript for over a year now and been loving it. I’ve recently started learning PHP but have a problem.

I have a php script inside some html. In the swf on a seperate page, I use LoadVars.sendAndLoad() to send variables to the php script (which works fine). But instead of receiving the variable “$output”, I receive a few html tags in the LoadVars receiving object and no $output variable!

Anyone experienced a similar thing before? As I’ve only been using PHP for 4 days, I’m probably missing something blindingly obvious.

Many thanks

Cue blindingly obvious solution…
