Re: Re: form validation

From: Date: Thu, 20 Dec 2012 15:37:24 +0000
Subject: Re: Re: form validation
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-319911@lists.php.net to get a copy of this message
On Thu, Dec 20, 2012 at 9:34 AM, Jim Giner <jim.giner@albanyhandball.com>wrote: > If you are using mysql for a db, then you should already be using > mysql_real_escape_string in place of addslashes. You should not be using mysql_real_escape_string going forward as it will be deprecated in php 5.5.0. http://php.net/manual/en/function.mysql-real-escape-string.php. You should be looking to use either mysqli functions or the PDO class.

« previous php.general (#319911) next »