Re: How do I get a ' in my sql statement?

From: Date: Mon, 10 Jun 2002 17:40:06 +0000
Subject: Re: How do I get a ' in my sql statement?
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-19723@lists.php.net to get a copy of this message
Hello!! Spit some code out...I put a lot of ' in my inserts... Is it from a form?!?!!? Is it from a Insert, or Select or Update?!? That's why we need some code... Dan On Monday, June 10, 2002, at 12:01 PM, DinsmoreB@michigan.gov wrote:
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 -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.db (#19723) next »