On Oct 6, 8:30 am, Jipson <[EMAIL PROTECTED]> wrote: > Hi Friends, > Now I am facing a problem that, in my project I havesome datas > like (admin email, site name, payapal email etc) in my settings > table.I have to get these all values throughout in my project like > global variables in php.What are the steps I have to do for it? Please > help me..... > > Thanks in Advance. > Jipson
Make a model and dump out the 'settings' to globals would do the trick. However, using globals is wrong in almost every situation. Whats wrong with loading the settings as needed? -Mark --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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 -~----------~----~----~----~------~----~------~--~---
