Forums
CakePHP Tips & Tricks
A place to post all your tips and tricks for CakePHP
Moderators: admin, trevor

Topics Post Date  Replies   Views  Last Post 
SQL output from a shell - If you are using shells and want to output SQL for debugging, simply do this: In your shell or other accessible file, create this function: public function  sqlDump($dbCon fig = & ;#039;default&#0 39;, $exit  ;= true) {    &n bsp; ConnectionManag er::getDataSource($d bConfig)->sho wLog();       if ($exit){    ;   & nbsp;  &nb sp;exit;    ;   } } Next, in ...
Posted by: admin
0 70 No New Posts

Forums » PHP » CakePHP Tips & Tricks
Jump To Forum:

New Posts [ Announcement ] No New Posts [ Announcement ]
New Posts [ Sticky ] No New Posts [ Sticky ]
New Posts [ Locked ] No New Posts [ Locked ]
New Posts [ Popular ] No New Posts [ Popular ]
New Posts No New Posts
1 Threads
1 Total Posts
Can Post New Topics:
Can Edit Own Topics:
Can Moderate: