get_results("SELECT * FROM ".$wpdb->prefix."adminnote WHERE (`name` LIKE '%".$_POST['s']."%' OR `text` LIKE '%".$_POST['s']."%') AND `create_by` = '$current_user->ID' ORDER BY `id` DESC" ); $xhtml = ''; if(!empty($note_info)){ foreach($note_info as $k=>$note): $xhtml .= '