Warning: sqlsrv_query() expects parameter 1 to be resource, boolean given in D:\zaiko.darumaya\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:\zaiko.darumaya\php\common\dbconnector.php:344 Stack trace: #0 D:\zaiko.darumaya\contents\usedcar\usedcar_detail_class.php(200): DbConnector->sendQuery(' DECLARE @zaiko...', Array) #1 D:\zaiko.darumaya\contents\usedcar\usedcar_detail.php(57): UsedCarDetail->getDetailData(Object(DbConnector)) #2 {main} thrown in D:\zaiko.darumaya\php\common\dbconnector.php on line 344