mirror of
https://github.com/vrana/adminer.git
synced 2025-08-15 02:54:28 +02:00
TODO
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@141 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
@@ -22,9 +22,10 @@ if ($_POST && $error) {
|
|||||||
} else {
|
} else {
|
||||||
$empty = false;
|
$empty = false;
|
||||||
echo "<pre class='jush-sql'>" . htmlspecialchars(substr($query, 0, $match[0][1])) . "</pre>\n";
|
echo "<pre class='jush-sql'>" . htmlspecialchars(substr($query, 0, $match[0][1])) . "</pre>\n";
|
||||||
|
//! don't allow changing of character_set_results, convert encoding of displayed query
|
||||||
if (!$mysql->multi_query(substr($query, 0, $match[0][1]))) {
|
if (!$mysql->multi_query(substr($query, 0, $match[0][1]))) {
|
||||||
echo "<p class='error'>" . lang('Error in query') . ": " . htmlspecialchars($mysql->error) . "</p>\n";
|
echo "<p class='error'>" . lang('Error in query') . ": " . htmlspecialchars($mysql->error) . "</p>\n";
|
||||||
} else{
|
} else {
|
||||||
do {
|
do {
|
||||||
$result = $mysql->store_result();
|
$result = $mysql->store_result();
|
||||||
if (is_object($result)) {
|
if (is_object($result)) {
|
||||||
|
Reference in New Issue
Block a user