Re: Re: mysql input

From: Date: Tue, 19 Feb 2008 11:10:38 +0000
Subject: Re: Re: mysql input
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-269601@lists.php.net to get a copy of this message
2008. 02. 19, kedd keltezéssel 11.03-kor Nathan Rixham ezt írta: > Richard Heyes wrote: > > Shawn McKenzie wrote: > >> nihilism machine wrote: > >>> I have a user saving a VARCHAR(255) field in a mysql db which has single > >>> quotes in the text, how can i replace them so that they dont fuck up my > >>> mysql command? > >>> > >>> -e > >> > >> > >> Have you tried: dont_fuck_up_my_mysql_command() > > > > Hrmph, I can't seem to find that in the manual... > > > > it's been depricated I heard in favour of unfuck(); > as I remember its also in SPL. $whatever = new MySqlCommandUnFucker($command); $whatever->unFuck(); :D greets Zoltán Németh

« previous php.general (#269601) next »