• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unescaping results Active Record

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... ?

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" ...


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.