J
Jason
I have a web form that is connected to a database. I'm collecting user
information and when a user with a name like O'reilley enters his name it
fails because of the apostrophe. How do I detect the apostrophe and pass
the insert command a safe string to insert it into the database. Is there
an existing function that will do this for me? What is the best way to
handle this? Another example is the middle initial. If the user enters Tom
L. Smith. the period after the middle initial crashes the app as well
Thanks in advance,
Jason
information and when a user with a name like O'reilley enters his name it
fails because of the apostrophe. How do I detect the apostrophe and pass
the insert command a safe string to insert it into the database. Is there
an existing function that will do this for me? What is the best way to
handle this? Another example is the middle initial. If the user enters Tom
L. Smith. the period after the middle initial crashes the app as well
Thanks in advance,
Jason