Go to the source code of this file.
Variables | |
| $url_query = '&goto=db_search.php' | |
| $tables = PMA_DBI_get_tables($db) | |
| $num_tables = count($tables) | |
| $sub_part = '' | |
| $current ['Field'] = PMA_backquote($current['Field']) | |
| $tblfields [] = $current | |
| $tblfields_cnt = count($tblfields) | |
| $sqlstr_from = ' FROM ' . PMA_backquote($GLOBALS['db']) . '.' . PMA_backquote($table) | |
| $sqlstr_where = ' WHERE' | |
| $search_words = (($search_option > 2) ? array($search_str) : explode(' ', $search_str)) | |
| $search_wds_cnt = count($search_words) | |
| $like_or_regex = (($search_option == 4) ? 'REGEXP' : 'LIKE') | |
| $automatic_wildcard = (($search_option <3) ? '%' : '') | |
| $implode_str = ($search_option == 1 ? ' OR ' : ' AND ') | |
| $sql ['select_fields'] = $sqlstr_select . ' * ' . $sqlstr_from . $sqlstr_where | |
| goto | |
| pos | |
| is_js_confirmed | |
| sql_query | |
| < selectname="table_select[]"size="6"multiple="multiple"> | selected |
| & | nbsp |
|
|
Definition at line 82 of file db_search.php. |
|
|
Definition at line 65 of file db_search.php. Referenced by SC_mod_tools_em_index::findMD5ArrayDiff(), SC_wizard_add::main(), PMA_DBI_get_tables(), and PMA_displayPrivTable(). |
|
|
Definition at line 111 of file db_search.php. |
|
|
Definition at line 81 of file db_search.php. |
|
|
Definition at line 24 of file db_search.php. |
|
|
Definition at line 79 of file db_search.php. |
|
|
Definition at line 78 of file db_search.php. |
|
|
Definition at line 120 of file db_search.php. Referenced by PMA_splitSqlFile(). |
|
|
Definition at line 73 of file db_search.php. |
|
|
Definition at line 112 of file db_search.php. |
|
|
Displays top links Definition at line 30 of file db_search.php. |
|
|
Get the list of tables from the current database Definition at line 23 of file db_search.php. |
|
|
Definition at line 66 of file db_search.php. |
|
|
Definition at line 70 of file db_search.php. |
|
|
Definition at line 17 of file db_search.php. |
|
|
Initial value: db_details.php'
. '&
Definition at line 178 of file db_search.php. |
|
|
Initial value: 0';
// Only one table defined in an variable $onetable
if (isset($onetable)) {
// Displays search string
echo ' ' . sprintf($strSearchResultsFor, htmlspecialchars($original_search_str), $option_str) . "\n";
echo ' <br />' . "\n";
// Gets the SQL statements
$newsearchsqls = PMA_getSearchSqls($onetable, $search_str, $search_option);
// Executes the "COUNT" statement
$res = PMA_DBI_query($newsearchsqls['select_count']);
$res_cnt = PMA_DBI_fetch_assoc($res);
$res_cnt = $res_cnt['count'];
PMA_DBI_free_result($res);
$num_search_result_total = $res_cnt;
echo ' <!-- Search results in table ' . $onetable . ' (' . $res_cnt . ') -->' . "\n"
. ' <br />' . "\n"
. ' <table><tr><td>' . sprintf($strNumSearchResultsInTable, $res_cnt, htmlspecialchars($onetable)) . "</td>\n";
if ($res_cnt > 0) {
echo '<td>' . PMA_linkOrButton('sql.php?' . $url_sql_query
. '&
Definition at line 180 of file db_search.php. |
|
|
Definition at line 338 of file db_search.php. |
|
|
Initial value: 0'
. '&
Definition at line 179 of file db_search.php. |
|
|
|
Initial value: ' .urlencode($newsearchsqls['select_fields']),
$strBrowse, '') . "</td>\n";
echo '<td>' . PMA_linkOrButton('sql.php?' . $url_sql_query
. '&
Definition at line 244 of file db_search.php. Referenced by PMA_displayPrivTable(), PMA_displayTableNavigation(), PMA_exportData(), PMA_generateEngineDetails(), PMA_getDbCollation(), PMA_mysqlDie(), PMA_setDisplayMode(), PMA_table_move_copy(), and tx_sysaction::renderActions(). |
1.4.3-20050530