Displaying text from database

Good Day!

Just want to ask how to display text in a textbox if the string from my database (php-mysql-flash) have double quotes/single quotes. Somethings goes wrong.

The scenario is this: I have a dropdown menu in flash, when i select a title, the content will be displayed in the textbox, but the content sometimes have different characters and sometimes when a the the first occurence of the double quote reaches, the string to be displayed stops there.

my content is this: THe quick brown fox jumps ‘over’ the lazy dog.

the textbox (in flash) only displays : THe quick brown fox jumps

And when I look at the database, the content looks like this: THe quick brown fox jumps “over“ the lazy dog.

Can someone help me please.

Thanks in Advance. :b: