Ok here is the sql string that causes the error:strSql1= SELECT COUNT(MEMBER_ID) AS PAGECOUNT
strSql2= FROM FORUM_MEMBERS_PENDING
strSql3= ORDER BY MEMBER_ID ASC;
strSql4= LIMIT 15, 15
strAll= SELECT M_NAME, M_EMAIL, MEMBER_ID, M_DATE, M_IP, M_KEY,
M_APPROVE FROM FORUM_MEMBERS_PENDING ORDER BY MEMBER_ID ASC; LIMIT 15, 15
I'm not sure on my SQL syntax, but can one actually have something after the terminating semicolon? the same string for page one does not have the LIMIT 15, 5 after the semicolon and works fine.
Only other odd things about this page was negative days etc, but sorted that with a fix from here a few moments ago. I can also see that date/times can have 60 seconds (rather than 59-00), which seems to force days pending to 0 (ideas on a fix for that would be useful).