-->"; } $query = "SELECT * FROM computers WHERE ($field LIKE '$newcontains') $andquery ORDER BY $sort"; if ($field == "freetext") { $query = "SELECT * from computers WHERE (name LIKE '$newcontains') or (type LIKE '$newcontains') or (description LIKE '$newcontains') or (comments LIKE '$newcontains') or (service LIKE '$newcontains') or (a_notes LIKE '$newcontains') or (a_comments LIKE '$newcontains') ORDER BY $sort"; } echo "\n"; computerListView($query, $sort, $phrasetype); if($cfg_groups == 1) { PRINT "
"; PRINT "
"; } commonFooter(); ?>