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

@@ -106,7 +106,7 @@ if (PMA_MYSQL_INT_VERSION >= 32334) {
<select name="order_field" style="vertical-align: middle">
<?php
echo "\n";
foreach($columns AS $junk => $fieldname) {
foreach ($columns AS $junk => $fieldname) {
echo ' <option value="' . htmlspecialchars($fieldname) . '">' . htmlspecialchars($fieldname) . '</option>' . "\n";
}
unset($columns);
@@ -323,7 +323,7 @@ if ($cfgRelation['relwork'] && $tbl_type != "INNODB") {
<?php echo $strReferentialIntegrity; ?><br />
<?php
echo "\n";
foreach($foreign AS $master => $arr) {
foreach ($foreign AS $master => $arr) {
$join_query = 'SELECT ' . PMA_backquote($table) . '.* FROM '
. PMA_backquote($table) . ' LEFT JOIN '
. PMA_backquote($arr['foreign_table']);