# Flash send to php variables

**URL:** <https://forum.kirupa.com/t/flash-send-to-php-variables/167563>\
**Category:** Uncategorized\
**Created:** [October 29, 2005, 10:39am UTC](https://forum.kirupa.com/t/flash-send-to-php-variables/167563 "2005-10-29T10:39:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![TylersIllusion](https://avatars.discourse-cdn.com/v4/letter/t/6bbea6/32.png) [@TylersIllusion](https://forum.kirupa.com/u/TylersIllusion)\
**Post date:** [October 29, 2005, 10:39am UTC](https://forum.kirupa.com/t/flash-send-to-php-variables/167563/1 "2005-10-29T10:39:38Z")

</div>

Hi, could you please help me out:  
i wrote such script:  
on (press) {  
var my\_lv:LoadVars = new LoadVars();  
my\_lv.send(“index.php?id=3”, “\_top”, “POST”) ;  
}

second one option is  
var my\_lv:LoadVars = new LoadVars();  
my\_lv.id = “1”;  
my\_lv.sendAndLoad(“index.php”, my\_lv, “POST”) ;  
but both of them aren’t working… ;/

problem is so that when i hit the button it refresh the whole page, but i need that he just adds the id to index.php and refresh only the bottom of page,  
in index.php on one of the tables is such script:  
\<? include($pg\_body); ?\>  
Thanks,  
sorry for my language 😉
