Microsoft
Software
Hardware
Network
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
Migrate 2000 dc to 2008 dc
C# sharing variables or data between different classes
Copy and Paste using VBA based on criteria including concatenation
Php 500 internal server error received on website but not using xampp at home
How to monitor users on WSS 3.0
Can't Remote Desktop to Forefront TMG Server
Custom Control Designer Error
PHP calling URL (which domain got me here?) PATH_INFO?
How do I lookup and insert the foreign key value into a table when passing a variable value from different column in the related table?
Should I make a Drupal Theme from scratch?