How do I get a ' in my sql statement?

From: Date: Mon, 10 Jun 2002 17:01:23 +0000
Subject: How do I get a ' in my sql statement?
Groups: php.db 
Request: Send a blank email to php-db+get-19722@lists.php.net to get a copy of this message
I have noticed that when I try to assign the value of a input field that has a ' in it for example : <can't > It will goof up my attempt to load the information to the database. Anyone know a way around this? Do I have to send each string through a parsing routine before assigning my string to a variable that will be used in a SQL statement? Thanks, Blaine

« previous php.db (#19722) next »