CodeIgniter Forums
Need a slash - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Need a slash (/showthread.php?tid=10782)



Need a slash - El Forum - 08-12-2008

[eluser]plasticated[/eluser]
I am entering information into a database. Some is plain text, so includes stuff like quotes. It enters into the database OK, but when I echo it out, say into a box to edit, it finishes abruptly at the point of a quote.

What is the best practice for stuff like quotes when it comes to adding and retrieving from a database in Codeigniter?