diff --git a/tbl_properties.php3 b/tbl_properties.php3 index 6532feb49..3447ce54a 100755 --- a/tbl_properties.php3 +++ b/tbl_properties.php3 @@ -25,6 +25,9 @@ if(MYSQL_MAJOR_VERSION == "3.23" && intval(MYSQL_MINOR_VERSION)>=3) if(isset($submittype)){ $result = mysql_query("ALTER TABLE $table TYPE=$tbl_type") or mysql_die(); } + if(isset($submitorderby) && !empty($order_field)){ + $result = mysql_query("ALTER TABLE $table ORDER BY $order_field") or mysql_die(); + } $result = mysql_query("SHOW TABLE STATUS LIKE '$table'") or mysql_die(); $showtable = mysql_fetch_array($result); @@ -344,6 +347,7 @@ echo " "; echo " \n"; +=3.23 && MYSQL_MINOR_VERSION>=34){ ?> +