RE: mysql input

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



mysql_real_escape_string()
addslashes()
htmlentities()
 
take your pick
 
 
bastien
> From: nihilismmachine@xxxxxxxxx> To: php-general@xxxxxxxxxxxxx> Date: Mon, 18 Feb 2008 23:05:10 -0500> Subject:  mysql input> > 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> > -- > PHP General Mailing List (http://www.php.net/)> To unsubscribe, visit: http://www.php.net/unsub.php> 
_________________________________________________________________


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux