Fatal error:  mysql error: [1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND code like '%' 
			ORDER BY code ASC' at line 4] in EXECUTE("			SELECT SQL_CALC_FOUND_ROWS
			name,code 
			FROM s_lecture_category 
			WHERE is_sell = 1 AND  LENGTH(code) =   AND code like '%' 
			ORDER BY code ASC")
 in /home/hosting_users/gosiwillnew/adodb/adodb-errorhandler.inc.php on line 77