Warning: sqlsrv_query() expects parameter 1 to be resource, boolean given in D:\s-s-auto\php\common\dbconnector.php on line 341

Fatal error: Uncaught exception 'Exception' with message 'An invalid parameter was passed to sqlsrv_query.<br />' in D:\s-s-auto\php\common\dbconnector.php:344 Stack trace: #0 D:\s-s-auto\contents\usedcar\usedcar_detail_class.php(197): DbConnector->sendQuery(' DECLARE @zaiko...', Array) #1 D:\s-s-auto\contents\usedcar\usedcar_detail.php(64): UsedCarDetail->getDetailData(Object(DbConnector)) #2 {main} thrown in D:\s-s-auto\php\common\dbconnector.php on line 344