CodeIgniter Forums
avoid single quotes - 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: avoid single quotes (/showthread.php?tid=49024)



avoid single quotes - El Forum - 02-06-2012

[eluser]Bigil Michael[/eluser]
hi frnds...
i would like to know is there any inbuilt validation function to unwanted characters like avoid single quotes.
me used escape functions at that time it will insert \ inside table.

my requirement is
if the customer insert string indi's then indias must be added to the database.

can anyone help me????
thanks in advance......