Fixed a slashes bug if the query is displayed on screen to be confirmed

This commit is contained in:
Loïc Chapeaux
2001-08-15 15:00:04 +00:00
parent b1d45f0dd0
commit 483fd5c548

View File

@@ -67,7 +67,8 @@ if ($do_confirm) {
$stripped_sql_query = $sql_query;
}
include('./header.inc.php3');
echo $strDoYouReally . htmlspecialchars($sql_query) . '&nbsp;?<br/>';
echo $strDoYouReally . '&nbsp;:<br />' . "\n";
echo '<tt>' . htmlspecialchars($stripped_sql_query) . '</tt>&nbsp;?<br/>';
?>
<form action="sql.php3" method="post" enctype="application/x-www-form-urlencoded">
<input type="hidden" name="sql_query" value="<?php echo urlencode($sql_query); ?>" />