SELECT COUNT(comments_id) as num FROM site1_article2comment WHERE article_id = 419Table './webdevin_db/site1_article2comment' is marked as crashed and should be repaired "SELECT COUNT(comments_id) as num FROM site1_article2comment WHERE article_id = 419;"
User Error: Table './webdevin_db/site1_article2comment' is marked as crashed and should be repaired "SELECT COUNT(comments_id) as num FROM site1_article2comment WHERE article_id = 419;".
1   IN FILE   "/home/webdevinfo/public_html/include/DataBase.class.php"   ON LINE   68
2   IN FILE   "/home/webdevinfo/public_html/include/DataBase.class.php"   ON LINE   196
3   IN FILE   "/home/webdevinfo/public_html/include/Article.class.php"   ON LINE   630
4   IN FILE   "/home/webdevinfo/public_html/view_pdf.php"   ON LINE   18


Notice: Undefined index: num.
1   IN FILE   "/home/webdevinfo/public_html/view_pdf.php"   ON LINE   18


Warning: Cannot modify header information - headers already sent by (output started at /home/webdevinfo/public_html/include/DataBase.class.php:65).
1   IN FILE   "/home/webdevinfo/public_html/view_pdf.php"   ON LINE   97


Warning: Cannot modify header information - headers already sent by (output started at /home/webdevinfo/public_html/include/DataBase.class.php:65).
1   IN FILE   "/home/webdevinfo/public_html/view_pdf.php"   ON LINE   98