Warning: sqlsrv_query() expects parameter 1 to be resource, boolean given in D:\k_cafe_hp_new\php\common\dbconnector.php on line 368

Fatal error: Uncaught exception 'Exception' with message 'An invalid parameter was passed to sqlsrv_query.<br />' in D:\k_cafe_hp_new\php\common\dbconnector.php:371 Stack trace: #0 D:\k_cafe_hp_new\contents\newcar\newcar_detail_class.php(500): DbConnector->sendQuery(' DECLARE @maker...', Array) #1 D:\k_cafe_hp_new\contents\newcar\newcar_detail_class.php(134): NewCarDetail->getDataFromDB(Object(DbConnector), Array) #2 D:\k_cafe_hp_new\contents\newcar\newcar_detail_class.php(108): NewCarDetail->getDetailDataList(Object(DbConnector)) #3 D:\k_cafe_hp_new\contents\newcar\newcar_detail.php(86): NewCarDetail->getDetailData(Object(DbConnector)) #4 {main} thrown in D:\k_cafe_hp_new\php\common\dbconnector.php on line 371