try { /DB::query('select * from ZZZ')->execute(); } catch (/Database_Exception $e) { echo $e->getMessage(); }
try { \DB::query('select * from ZZZ')->execute(); } catch (\Database_Exception $e) { echo $e->getMessage(); }
It looks like you're new here. If you want to get involved, click one of these buttons!