Welcome Guest, Not a member yet? Register   Sign In
Unescaping results Active Record
#1

[eluser]spherop[/eluser]
I am sure the is patently obvious/basic. I am using AR and just basic db->insert and db->get.

My insert is automatically escaping, \' which seems cool ...so when using the get - since it's not unescaping the results, should it be?...or is there a recommended way of unescaping... ?
#2

[eluser]spherop[/eluser]
again apologies ... if this is CI Day 1, but i am still a bit confounded. AR seems to escape everything going in by default, but not coming out? What's best approach? Everything right now is coming out "John\'s Car" ...."Jane\'s Boat" ...

thx




Theme © iAndrew 2016 - Forum software by © MyBB