Re: SQL syntax error in PHP script. dunno what's wrong

From: Date: Fri, 03 Aug 2001 13:59:03 +0000
Subject: Re: SQL syntax error in PHP script. dunno what's wrong
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-61126@lists.php.net to get a copy of this message
on 8/3/01 2:49 AM, Werner Stuerenburg at ws@art-quarter.com wrote: >>> insert into test values (0,''; DELETE FROM test; ',1); >>> ERROR 1064: You have an error in your SQL syntax near '' at line 1 > > what about > > insert into test values (0,'\'; DELETE FROM test; ',1); nope. this just adds a row to the table with '; DELETE FROM test; in the 2nd field -- mike cullerton

« previous php.general (#61126) next »