Notice: Undefined index: page in /www/aipublish/ on line 42 DIE: 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 '' at line 11 ON SQL: SELECT a.*, UNIX_TIMESTAMP(PUBLISHDATE) as PUBLISHDATE, UNIX_TIMESTAMP(UPDATED) AS UPDATED, b.CATEGORYNAME, c.USERNAME as USERNAME_UPDATE FROM AIP_ARTICLE a INNER JOIN AIP_ARTICLE_CATEGORY b ON (b.IDCATEGORY = a.IDCATEGORY) INNER JOIN AIP_USER c on (c.IDUSER = a.IDUSER_UPDATE) WHERE a.IDARTICLE=