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

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

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -