# \[help\] refresh php page

**URL:** https://forum.kirupa.com/t/help-refresh-php-page/260716
**Category:** flash
**Created:** [May 19, 2008, 8:49am UTC](https://forum.kirupa.com/t/help-refresh-php-page/260716 "2008-05-19T08:49:24Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![cjj](https://avatars.discourse-cdn.com/v4/letter/c/ecc23a/32.png) [@cjj](https://forum.kirupa.com/u/cjj)
#### Post date: [May 19, 2008, 8:49am UTC](https://forum.kirupa.com/t/help-refresh-php-page/260716/1 "2008-05-19T08:49:24Z")

</div>

Is it possible to refresh a php page using AS on a button inside a swf?

I want to have the page refreshed when a user clicks on my “restart game” button.

Is this possible? ![](http://forum.kirupa.com/uploads/kirupa/1105/8ed432c9025fd9ca.gif)

---

<div class="post-metadata">

### Author: ![sasxa](https://avatars.discourse-cdn.com/v4/letter/s/da6949/32.png) [@sasxa](https://forum.kirupa.com/u/sasxa)
#### Post date: [May 19, 2008, 11:32am UTC](https://forum.kirupa.com/t/help-refresh-php-page/260716/2 "2008-05-19T11:32:28Z")

</div>

Hi,  
I don’t know much about php, but I recently found very nice tutorial on ASP/MySQL/AS3.0 so you might wanna check it out… If you know php syntax I believe it will help you (check out the page ‘Communicating with ASP script’)…  
[http://www.adobe.com/devnet/flash/articles/mysql\_xml\_asp.html](http://www.adobe.com/devnet/flash/articles/mysql_xml_asp.html)

Sasxa

---

<div class="post-metadata">

### Author: ![Ikinsey](https://avatars.discourse-cdn.com/v4/letter/i/f14d63/32.png) [@Ikinsey](https://forum.kirupa.com/u/Ikinsey)
#### Post date: [May 19, 2008, 5:46pm UTC](https://forum.kirupa.com/t/help-refresh-php-page/260716/3 "2008-05-19T17:46:45Z")

</div>

cjj, what do you mean? Like making a new HTTPService call to a php file? Or the flash is embeded in a .php page and you want the page refreshed? Or something entirely different?

---

<div class="post-metadata">

### Author: ![Peter71](https://avatars.discourse-cdn.com/v4/letter/p/13edae/32.png) [@Peter71](https://forum.kirupa.com/u/Peter71)
#### Post date: [June 17, 2008, 6:27pm UTC](https://forum.kirupa.com/t/help-refresh-php-page/260716/4 "2008-06-17T18:27:41Z")

</div>

You could just link the button to that page and then when they click it it will reload the page. I am not sure if you have any data that you want to pass on refresh, but if you just want to reload the whole page, just use the getURL script.

Of course, this could be a gross simplification of what you want to do, but just in case!
