I want to know that can we do the cms with cake php
On Thu, Aug 13, 2009 at 3:06 PM, siva linga reddy gangula < [email protected]> wrote: > > In php we can give the database connections like this > $con=mysql_connect("localhost","root",""); > $sel=mysql_select_db(dbanme); > > After we can write the sql query as for our view . > > > > > $db =ConnectionManager::getDataSource('default'); > debug($db->showLog()); > > > On Aug 13, 7:43 am, Abhishek <[email protected]> wrote: > > Hi, > > How can i get the SQL query generated by the framework. It does get > > saved in the log, but in that case along with that lot of other > > information is saved. > > > > I need to store just the SQL query generated as it is in a database so > > that i can retrieve them later > > and run them. > > > > Any idea how do i go about it > > > > Regards > > Abhishek Jainhttp://www.fidelus.in > > > > > > -- > siva > -- siva --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
