Question : MySQL returning double apostrophes

I've carefully used mysql_real_escape_string to insert last names into my DB, so that O'Brien is stored correctly.

Now when I'm retrieving the values, my test site returns the name, O'Brien, correctly, but my live site doubles the apostrophes (O''Brien.)  The DB values on both sites are the same, with only the single apostrophe.

Why the discrepancy?  And how do I arrive at the proper display on the live site?

Capt

Answer : MySQL returning double apostrophes

hi
im glade u found a solution
but also if u look to my suggestion above i recommend u to re install the framework
so i think i deserve your points
Random Solutions  
 
programming4us programming4us