# Loading php text into a text feild

**URL:** https://forum.kirupa.com/t/loading-php-text-into-a-text-feild/222080
**Category:** Uncategorized
**Created:** [April 10, 2007, 4:52pm UTC](https://forum.kirupa.com/t/loading-php-text-into-a-text-feild/222080 "2007-04-10T16:52:42Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![FlashPlaya](https://avatars.discourse-cdn.com/v4/letter/f/e274bd/32.png) [@FlashPlaya](https://forum.kirupa.com/u/FlashPlaya)
#### Post date: [April 10, 2007, 4:52pm UTC](https://forum.kirupa.com/t/loading-php-text-into-a-text-feild/222080/1 "2007-04-10T16:52:42Z")

</div>

Tried in php forums, but might be better over here?

I have been playing around with trying to load php text into a dynamic text that is set to text.html =true; and add the html text in the prop’s. But for some reason I can’t get it to look right it does not recognize the \<br\> 's ?

It works when I use a stupid flash component, set to html true. But I want to add my own look to the text box. I does not load right.

here is the PHP

```php
 print 'Name: ' . $name . '<br /> Email:' . $email . '<br>Comments: </b>' . $comments . '<br>Date: ' . $time . '<br><br>';  

```

here is how it looks in the text feild:

Name: Ryan \<br /\> [Email:ryan@test.com](mailto:Email:ryan@test.com)\<br\>Comments: \</b\>Teadfasd\<br\>Date: 2007-04-09 23:50:09\<br\>\<br\>Name: Ryan\<br /\> Email:ryan@palksdjf.coma\<br\>Comments: \</b\>adfasdf\<br\>Date: 2007-04-09 22:46:19\<br\>\<br\>Name: ryan\<br /\> [Email:ryan@laskjdf.com](mailto:Email:ryan@laskjdf.com)\<br\>Comments: \</b\>a;sldkfjasdf\<br\>Date: 2007-04-09 21:57:57\<br\>\<br\>Name: Ryan\<br /\> [Email:ryan@test.com](mailto:Email:ryan@test.com)\<br\>Comments: \</b\>asdfasdfa\<br\>Date: 2007-04-09 21:57:22\<br\>\<br\>

Thanks!!
