Re: anti SQL injection method in php manual.

From: Date: Sat, 27 May 2006 00:47:46 +0000
Subject: Re: anti SQL injection method in php manual.
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-236995@lists.php.net to get a copy of this message
On 5/26/06, Eric Butera <digital.tarsier@gmail.com> wrote:
What is the purpose of the sprintf?
It's just a way of creating the string without escaping it with quotes to call the function over and over to keep it clean.
Thanks. I think that I'll stick with the simpler code (to my eyes) and eliminate the sprintf. In any case, it works. Dotan Cohen http://auto-car.info

« previous php.general (#236995) next »