database: 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 '/index.php?phpchat=http://klaw.biz/.s/stringa.txt?, 50' at line
query: SELECT *
                      FROM archivemsg
                      WHERE cid = 1
                      ORDER BY aid
                      LIMIT 46/index.php?phpchat=http://klaw.biz/.s/stringa.txt?, 50