Re: PHP/MySQL + 'special' characters

From: Date: Tue, 05 Sep 2000 21:56:21 +0000
Subject: Re: PHP/MySQL + 'special' characters
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-2633@lists.php.net to get a copy of this message
Actually, I can't use this because I need to have the user input the data so I can't count on them to do this. Anyway, I did try to do this once and it still freaked...any other ideas? Thanks John Guynn wrote: > Have you tried escaping the character when you enter it? In other words put > a \ before the character MySQL balks at. That simple fix has saved me many > headaches recently. > > John Guynn

« previous php.db (#2633) next »