Little code reorganistaion (RFE #957308), removed some remaining php3 compatibility code in SQL parser.

This commit is contained in:
Michal Čihař
2004-05-20 16:14:13 +00:00
parent f5371237aa
commit 1aaa89fa54
58 changed files with 256 additions and 254 deletions

View File

@@ -87,7 +87,7 @@ if (!empty($submit_mult) && !empty($what)) {
$full_query = '';
$selected_cnt = count($selected);
$i = 0;
foreach($selected AS $idx => $sval) {
foreach ($selected AS $idx => $sval) {
switch ($what) {
case 'row_delete':
$full_query .= htmlspecialchars(urldecode($sval))
@@ -150,7 +150,7 @@ if (!empty($submit_mult) && !empty($what)) {
} else {
echo PMA_generate_common_hidden_inputs();
}
foreach($selected AS $idx => $sval) {
foreach ($selected AS $idx => $sval) {
echo ' <input type="hidden" name="selected[]" value="' . htmlspecialchars($sval) . '" />' . "\n";
}
?>