# Flash Form: php is refreshing page?

**URL:** <https://forum.kirupa.com/t/flash-form-php-is-refreshing-page/259572>\
**Category:** flash\
**Created:** [May 6, 2008, 8:20pm UTC](https://forum.kirupa.com/t/flash-form-php-is-refreshing-page/259572 "2008-05-06T20:20:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![thumbslinger](https://avatars.discourse-cdn.com/v4/letter/t/8491ac/32.png) [@thumbslinger](https://forum.kirupa.com/u/thumbslinger)\
**Post date:** [May 6, 2008, 8:20pm UTC](https://forum.kirupa.com/t/flash-form-php-is-refreshing-page/259572/1 "2008-05-06T20:20:32Z")

</div>

I don’t want the browser window to refresh… I just want Flash to hand off the data and email the contents.

The Flash file moves forward to a Thanks screen.

Everything works except the php is making the screen go blank after submitting.

This is the simple php I’m using:

```auto
<?php

$body = "These comments were sent via the website

Name is $fullName

Home Phone is $phone

Email is $email

Prefer Contact by: $radioGroup";
    

    mail("myaddress@company.com", "LTA Site Send", $body, "From:The LTA Site");
    
    ?>

```
