# PHP script adding extra info to database

**URL:** https://forum.kirupa.com/t/php-script-adding-extra-info-to-database/288496
**Category:** Uncategorized
**Created:** [May 17, 2009, 12:07am UTC](https://forum.kirupa.com/t/php-script-adding-extra-info-to-database/288496 "2009-05-17T00:07:21Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![jet71dl](https://avatars.discourse-cdn.com/v4/letter/j/8797f3/32.png) [@jet71dl](https://forum.kirupa.com/u/jet71dl)
#### Post date: [May 17, 2009, 12:07am UTC](https://forum.kirupa.com/t/php-script-adding-extra-info-to-database/288496/1 "2009-05-17T00:07:21Z")

</div>

I am using a flash contact form that is being posted to a mySQL database once it is submitted via PHP…

I encounter a problem when I look at the table in the database, when the PHP form submits the information to the database it puts extra information with it (html font information) like this:

```auto

<TEXTFORMAT LEADING="24"><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#670F01" LETTERSPACING="0" KERNING="0">TEST</FONT></P></TEXTFORMAT>,<TEXTFORMAT LEADING="24"><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#670F01" LETTERSPACING="0" KERNING="0">TEST</FONT></P></TEXTFORMAT>,<TEXTFORMAT LEADING="24"><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#670F01" LETTERSPACING="0" KERNING="0">TEST</FONT></P></TEXTFORMAT>,<TEXTFORMAT LEADING="24"><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#670F01" LETTERSPACING="0" KERNING="0">TEST</FONT></P></TEXTFORMAT>,<TEXTFORMAT LEADING="24"><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#670F01" LETTERSPACING="0" KERNING="0">TEST</FONT></P></TEXTFORMAT>

```

How do I stop it from putting all of the irrelevant html information into the database?

Thank you for your help!
