fulltext query in joomla
问题 How do I buld a fulltext search query with joomla objects. I have been trying but it's not working $db = JFactory::getDBO(); $query = $db->getQuery(true); $query->select('*'); $query->from('#__unis_subjects AS s'); $query->join('', '#__unis AS u ON s.university = u.id'); $query->join('', '#__unis_faculties AS f ON f.id = s.faculty'); $query->where('MATCH (s.subject) AGAINST ("' . $query . '")'); if (!$db->query()) { throw new Exception($db->getErrorMsg()); } $data = $db->loadObjectList(); var