Warning: Undefined variable $n_id in /home/locomoti/public_html/news/news-item.php on line 27

Fatal error: Uncaught mysqli_sql_exception: 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 news.status='L'' at line 8 in /home/locomoti/public_html/news/news-item.php:30 Stack trace: #0 /home/locomoti/public_html/news/news-item.php(30): mysqli_query(Object(mysqli), 'SELECT news_id,...') #1 {main} thrown in /home/locomoti/public_html/news/news-item.php on line 30