Great! Thanks a lot! On Oct 10, 3:02 am, Grant Cox <[EMAIL PROTECTED]> wrote: > $db =& ConnectionManager::getInstance(); > $default_prefix = $db->config->default['prefix']; > > On Oct 9, 10:14 pm, Meloy <[EMAIL PROTECTED]> wrote: > > > Hi! > > > I'm looking for a way to access the database-prefix (set in > > database.php) in a controller to use it in a custom query but can't > > manage to find it... > > Can someone help? > > > Regards > > Meloy
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
