html - Is it possible to escape & ' present in database? -


the data retrieved database has & or '. how escape , show & or ' without using gsub method?

if can't stop data being inserted that, there code here create function in mysql can use in query in order return decoded data.

or within ruby, not using replace strategy, take @ how-do-i-encode-decode-html-entities-in-ruby.


Comments

Popular posts from this blog

php - cannot display multiple markers in google maps v3 from traceroute result -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -