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:
authorAtul Pratap Singh <atulpratapsingh05@gmail.com>2012-06-13 14:36:23 +0400
committerAtul Pratap Singh <atulpratapsingh05@gmail.com>2012-06-13 14:36:23 +0400
commit4183cdbaf490374027ec7e641d680722e9024a77 (patch)
tree350a09ff9ca9e0cea875a44522f816c1c0e7e9cf /tbl_zoom_select.php
parent179b3fdcc479abb71777d0ced9f13e5f0cb85e22 (diff)
Fix some spacing and coding styles in tbl_zoom_select.php
Diffstat (limited to 'tbl_zoom_select.php')
-rw-r--r--tbl_zoom_select.php17
1 files changed, 6 insertions, 11 deletions
diff --git a/tbl_zoom_select.php b/tbl_zoom_select.php
index 6a0e2ae5dd..30648c7cb9 100644
--- a/tbl_zoom_select.php
+++ b/tbl_zoom_select.php
@@ -128,7 +128,6 @@ if (! isset($goto)) {
$err_url = $goto . '?' . PMA_generate_common_url($db, $table);
// Gets the list and number of fields
-
list($columnNames, $columnTypes, $columnCollations, $columnNullFlags)
= PMA_tbl_getFields($db, $table);
@@ -141,13 +140,12 @@ $foreigners = PMA_getForeigners($db, $table);
if ( !isset($_POST['zoom_submit']) || $_POST['dataLabel'] == '') {
$dataLabel = PMA_getDisplayField($db, $table);
}
+//Display zoom search form
echo PMA_tblSearchGetSelectionForm(
$goto, $db, $table, $columnNames, $columnTypes, $columnCollations,
$columnNullFlags, false, $foreigners, "zoom", $dataLabel
);
-?>
-<?php
/*
* Handle the input criteria and generate the query result
* Form for displaying query results
@@ -157,15 +155,11 @@ if (isset($zoom_submit)
&& $_POST['criteriaColumnNames'][1] != 'pma_null'
&& $_POST['criteriaColumnNames'][0] != $_POST['criteriaColumnNames'][1]
) {
- /*
- * Query generation part
- */
+ //Query generation part
$sql_query = PMA_tblSearchBuildSqlQuery();
$sql_query .= ' LIMIT ' . $maxPlotLimit;
- /*
- * Query execution part
- */
+ //Query execution part
$result = PMA_DBI_query($sql_query . ";", null, PMA_DBI_QUERY_STORE);
$fields_meta = PMA_DBI_get_fields_meta($result);
while ($row = PMA_DBI_fetch_assoc($result)) {
@@ -193,8 +187,9 @@ if (isset($zoom_submit)
unset($tmpData);
//Displays form for point data and scatter plot
- echo PMA_tblSearchGetZoomResultsForm($goto, $db, $table, $columnNames,
- $columnTypes, $columnNullFlags, $foreigners, $data
+ echo PMA_tblSearchGetZoomResultsForm(
+ $goto, $db, $table, $columnNames, $columnTypes, $columnNullFlags,
+ $foreigners, $data
);
}
require './libraries/footer.inc.php';