Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Replacing &#39 in database with '

Status
Not open for further replies.

hallm

Programmer
Jun 11, 2000
159
US
I've got a database that I'm converting over to php / mysql. Alot of the text entries have &#39 instead of ' saved in. For example don&#39t instead of don't. I've tried running str_replace on it and it's not working. Am I missing something?

hallm
 
I should say that the database is already in Mysql. We converted it from Access. html_entity_decode seems to be working, I'm going to play with it for a while. Thanks for your help.

hallm
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top