' . $dropdown . ''; $extra_data['dropdown'] = $dropdown; PMA_ajaxResponse(NULL, true, $extra_data); } /** * Just like above, find possible values for enum fields during inline edit. */ if(isset($_REQUEST['get_enum_values']) && $_REQUEST['get_enum_values'] == true) { $field_info_query = 'SHOW FIELDS FROM `' . $db . '`.`' . $table . '` LIKE \'' . $_REQUEST['column'] . '\' ;'; $field_info_result = PMA_DBI_fetch_result($field_info_query, null, null, null, PMA_DBI_QUERY_STORE); $search = array('enum', '(', ')', "'"); $values = explode(',', str_replace($search, '', $field_info_result[0]['Type'])); $dropdown = ''; foreach($values as $value) { $dropdown .= '