Welcome Guest, Not a member yet? Register   Sign In
How to remove sigle quotes saved in database field.
#1

[eluser]Unknown[/eluser]
Hi!

I am saving my data into the database using $this->db->escape(); function this saves the data enclosed in sigle quotes. When I retrieve the data I want to remove this quote from the data.
Any help will be much appreciated.

Thanks!
#2

[eluser]Aken[/eluser]
How are you using escape()? You should show the code being affected. Because you might be unnecessarily double-encoding your data.




Theme © iAndrew 2016 - Forum software by © MyBB