. */ /** * @brief List of status for autocompletion * * * @file * @author Laurent Giovannoni * @date $date$ * @version $Revision$ * @ingroup admin */ require_once('core' . DIRECTORY_SEPARATOR . 'class' . DIRECTORY_SEPARATOR . 'class_request.php'); $db = new dbquery(); $db->connect(); $db->query( 'select label_status as tag from ' . $_SESSION['tablename']['status'] . " where lower(label_status) like lower('" . $_REQUEST['what']."%') order by label_status" ); $listArray = array(); while ($line = $db->fetch_object()) { array_push($listArray, $line->tag); } echo '';