tgely Posted May 25, 2015 Share Posted May 25, 2015 DbStatment.php $start = microtime(true); $this->is_error = !parent::execute($input_parameters); d($this->queryString . '<br />Time: ' . sprintf('%f', (microtime(true)-$start))); where d() is a private debug function: // display object as string and if true display object as text function d($v, $text = false) { echo '<pre>Data: '; print_r($v, $text); echo '</pre>'; } This is a half solution and has no display effect from protected Db.php. osCommerce based shop owner with minimal design and focused on background works. When the less is more.Email managment with tracking pixel, package managment for shipping, stock management, warehouse managment with bar code reader, parcel shops management on 3000 pickup points without local store. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.