Fixed Olivier's improvement for mutiple queries
This commit is contained in:
@@ -70,6 +70,9 @@ if (!empty($prev_sql_query)) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Copy the query, used for display purposes only
|
||||||
|
$sql_query_cpy = $sql_query;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Executes the query
|
* Executes the query
|
||||||
@@ -117,9 +120,6 @@ if ($sql_query != '') {
|
|||||||
} // end if
|
} // end if
|
||||||
|
|
||||||
|
|
||||||
// be nice with bandwidth...
|
|
||||||
$sql_query = "";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Go back to the calling script
|
* Go back to the calling script
|
||||||
*/
|
*/
|
||||||
@@ -127,8 +127,14 @@ require('./header.inc.php3');
|
|||||||
if (isset($my_die)) {
|
if (isset($my_die)) {
|
||||||
mysql_die('', $my_die);
|
mysql_die('', $my_die);
|
||||||
}
|
}
|
||||||
|
// Be nice with bandwidth...
|
||||||
$message = "$strSuccess: $strTheContent ($pieces_count $strInstructions) ";
|
if ($sql_file != 'none' && $pieces_count > 10) {
|
||||||
|
$sql_query = '';
|
||||||
|
unset($sql_query_cpy);
|
||||||
|
$message = "$strSuccess :<br />$strTheContent ($pieces_count $strInstructions) ";
|
||||||
|
} else {
|
||||||
|
$message = $strSuccess;
|
||||||
|
}
|
||||||
if (!isset($goto)
|
if (!isset($goto)
|
||||||
|| ($goto != 'db_details.php3' && $goto != 'tbl_properties.php3')) {
|
|| ($goto != 'db_details.php3' && $goto != 'tbl_properties.php3')) {
|
||||||
$goto = 'db_details.php3';
|
$goto = 'db_details.php3';
|
||||||
|
Reference in New Issue
Block a user