PHP Warning: Undefined variable $pid in C:\inetpub\wwwroot\ta\view-news.php on line 12 PHP Warning: Undefined array key "pid" in C:\inetpub\wwwroot\ta\view-news.php on line 15 PHP 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 'ORDER BY id desc' at line 1 in C:\inetpub\wwwroot\db_objs\db_master.php:51 Stack trace: #0 C:\inetpub\wwwroot\db_objs\db_master.php(51): mysqli->query() #1 C:\inetpub\wwwroot\ta\view-news.php(17): Db_master->get() #2 C:\inetpub\wwwroot\index.php(32): include('...') #3 {main} thrown in C:\inetpub\wwwroot\db_objs\db_master.php on line 51