# PHP write problem

**URL:** <https://forum.kirupa.com/t/php-write-problem/193692>\
**Category:** flash\
**Created:** [July 15, 2006, 11:05am UTC](https://forum.kirupa.com/t/php-write-problem/193692 "2006-07-15T11:05:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![freggel](https://avatars.discourse-cdn.com/v4/letter/f/82dd89/32.png) [@freggel](https://forum.kirupa.com/u/freggel)\
**Post date:** [July 15, 2006, 11:05am UTC](https://forum.kirupa.com/t/php-write-problem/193692/1 "2006-07-15T11:05:39Z")

</div>

When I write text from flash to a txt file true php, php puts the escape character ‘’ before the special characters. And when I load the txt file in flash I get the text with the escape character

this is my php code  
\<?  
$param = “personaltext=”;  
$fp = fopen (“personal.txt”, “w+”);  
fwrite($fp,"$param$personaltext");  
fclose($fp);   
?\>

input text= rock 'n roll  
result= rock 'n roll

Does anybody knows how I can avoid that

thanks in advance
