acorsa | Code :
- if(isset($_POST['search_label'])) $search_label=$_POST['search_label'];
- $search_query = "SELECT distinct query_id, Query_text, Translator_name, language_name, Replied, Query_type, Doc_name, Reference, Proposal,Query_status, Creation_date, answer_text, answer_comment FROM Queries WHERE (Query_text LIKE '%$search_label%' OR Doc_name LIKE '%$search_label%' OR Proposal LIKE '%$search_label%' OR Reference LIKE '%$search_label%' OR answer_text LIKE '%$search_label%' OR answer_comment LIKE '%$search_label%') AND (Project_name='$project_name') order by Creation_date DESC";
- $search= mysql_query($search_query);
|
|