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 - mySql Join with 4 tables -

css - Text drops down with smaller window -

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