Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Čihař <michal@cihar.com>2008-11-24 14:22:44 +0300
committerMichal Čihař <michal@cihar.com>2008-11-24 14:22:44 +0300
commit84ae0420feb00ff769279f6a12fbae2de14f270d (patch)
tree0a9441ecff82412745ca748a771e053b3c35a3f7 /tbl_create.php
parent2f457eebbd0387b84a3622246747929609270ef8 (diff)
Adding @package, third part.
Diffstat (limited to 'tbl_create.php')
-rw-r--r--tbl_create.php23
1 files changed, 12 insertions, 11 deletions
diff --git a/tbl_create.php b/tbl_create.php
index a8404fae2a..c86934c85f 100644
--- a/tbl_create.php
+++ b/tbl_create.php
@@ -32,6 +32,7 @@
* @uses sprintf()
* @uses htmlspecialchars()
* @version $Id$
+ * @package phpMyAdmin
*/
/**
@@ -99,7 +100,7 @@ if (isset($_REQUEST['do_save_data'])) {
}
} // end if
} // end for
-
+
// Builds the fields creation statements
for ($i = 0; $i < $field_cnt; $i++) {
// '0' is also empty for php :-(
@@ -108,25 +109,25 @@ if (isset($_REQUEST['do_save_data'])) {
}
$query = PMA_Table::generateFieldSpec(
- $_REQUEST['field_name'][$i],
+ $_REQUEST['field_name'][$i],
$_REQUEST['field_type'][$i],
- $_REQUEST['field_length'][$i],
+ $_REQUEST['field_length'][$i],
$_REQUEST['field_attribute'][$i],
- isset($_REQUEST['field_collation'][$i])
- ? $_REQUEST['field_collation'][$i]
+ isset($_REQUEST['field_collation'][$i])
+ ? $_REQUEST['field_collation'][$i]
: '',
- isset($_REQUEST['field_null'][$i])
- ? $_REQUEST['field_null'][$i]
+ isset($_REQUEST['field_null'][$i])
+ ? $_REQUEST['field_null'][$i]
: 'NOT NULL',
- $_REQUEST['field_default_type'][$i],
+ $_REQUEST['field_default_type'][$i],
$_REQUEST['field_default_value'][$i],
isset($_REQUEST['field_extra'][$i])
? $_REQUEST['field_extra'][$i]
: false,
- isset($_REQUEST['field_comments'][$i])
- ? $_REQUEST['field_comments'][$i]
+ isset($_REQUEST['field_comments'][$i])
+ ? $_REQUEST['field_comments'][$i]
: '',
- $field_primary,
+ $field_primary,
$i);
$query .= ', ';