php - Open cart not use $this->db->query in model file -


working in open cart model view controller structure know $db library file , store in page load , set key value in registry file. question in model file place open cart use.path of file catalog\model\order\order.php.

 $order_query = $this->db->query('select * `'.db_prefix."order` 

but in same model file, in places open cart not use variable.

 $sql = '     select * '.db_prefix."order_sellerhistory 


Comments

Popular posts from this blog

serialization - Convert Any type in scala to Array[Byte] and back -

matplotlib support failed in PyCharm on OSX -

python - Matplotlib: TypeError: 'AxesSubplot' object is not callable -