RSS 2.0 Feed

» Welcome Guest Log In :: Register

Pages: (39) < [1] 2 3 4 5 6 ... >   
  Topic: Board Mechanics< Next Oldest | Next Newest >  
Wesley R. Elsberry



Posts: 4523
Joined: May 2002

(Permalink) Posted: July 27 2010,20:29   

It looks to be a problem for anyone with an apostrophe in their user name.

Unfortunately, it may be a while before I get around to revisiting that code. I have stuff to put together for two papers I'm collaborating on currently.

ETA: I did have a look at the MySQL table, and the names with apostrophes have the HTML entity "&#39;" in place of them, so the simple "escape the apostrophe" approach doesn't work for those.

OK, anybody want to propose a PHP snippet to globally replace "'" with "&#39;" in a string? Yeah, I'm just that tired.

Edited by Wesley R. Elsberry on July 27 2010,21:55

--------------
"You can't teach an old dogma new tricks." - Dorothy Parker

    
  1145 replies since Oct. 19 2005,12:45 < Next Oldest | Next Newest >  

Pages: (39) < [1] 2 3 4 5 6 ... >   


Track this topic Email this topic Print this topic

[ Read the Board Rules ] | [Useful Links] | [Evolving Designs]