# Variable html textfield on displays when updated from flash form?

**URL:** <https://forum.kirupa.com/t/variable-html-textfield-on-displays-when-updated-from-flash-form/215264>\
**Category:** Uncategorized\
**Created:** [February 5, 2007, 10:15pm UTC](https://forum.kirupa.com/t/variable-html-textfield-on-displays-when-updated-from-flash-form/215264 "2007-02-05T22:15:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Flash\_Man1](https://avatars.discourse-cdn.com/v4/letter/f/8797f3/32.png) [@Flash\_Man1](https://forum.kirupa.com/u/Flash_Man1)\
**Post date:** [February 5, 2007, 10:15pm UTC](https://forum.kirupa.com/t/variable-html-textfield-on-displays-when-updated-from-flash-form/215264/1 "2007-02-05T22:15:27Z")

</div>

hey all,

i have a flash form which i update content on a html page through php

here is my php code:

```php
<?php
$filename = $_POST["filename"];
$theText = $_POST["theText"];

$theText = ($theText);

$data = fopen($filename, "w");

fwrite($data,$theText);

fclose($data);

echo "File created or updated";
?>

```

for some reason when i look at the html page after the content has been added the tables and css etc are all gone nothing displays in the browser other than the text field and a white background?? why??
