You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
<?php
// require("php-sql-parser.php");
require("PHPSQLParser.php");
$sql = "INSERT INTO test (`name`) VALUES ('ben\'s test containing an escaped
quote')";
$parser = new PHPSQLParser($sql);
echo "<pre>";
print_r( $parser->parsed );
echo "</pre>";
What is the expected output? What do you see instead?
EXPECTED:
[VALUES] => Array
(
[0] => ('ben\'s test containing an escaped quote')
)
OBSERVED:
[VALUES] => Array
(
[0] => ('ben''s test containing an escaped quote')
)
What version of the product are you using? On what operating system?
Both of the following have the issue:
http://www.phosco.info/php-sql-parser_current.zip
http://php-sql-parser.googlecode.com/svn/trunk/php-sql-parser.php
Original issue reported on code.google.com by ben.swin...@gmail.com on 5 Mar 2012 at 10:32
The text was updated successfully, but these errors were encountered:
Many thanks for the quick response. Any chance you can briefly explain the fix?
The version I'm currently having to stick with isn't from your repository and I
can't just drop in the update as it behaves slightly differently. I plan to
move to your version but need to wait for my boss to schedule in some
development time to port the legacy software.
Original comment by ben.swin...@gmail.com on 6 Mar 2012 at 8:41
Original issue reported on code.google.com by
ben.swin...@gmail.com
on 5 Mar 2012 at 10:32The text was updated successfully, but these errors were encountered: