=>To make custom queries use the foll


*Syntax:*





$this->model name->query(" sql query here “ );


On Mon, Aug 24, 2009 at 11:39 AM, dhiraj ray <dhiraj.r...@gmail.com> wrote:

> > how to run something like a mysql_query and then mysql_fetch_array
>
> simple use
> $rs=Query("your Query");
>
> to pass data to mysql;
>
> u can use config file to to connect with data base
> app/config/database.php
>
> sorry for my bad english
> dhiraj (india);
>
> >
>


-- 
-- 
(¨`•.•´¨) I may be busy,
`•.¸(¨`•.•´¨)  but I assure you,
(¨`•.•´¨)¸.•´ you are always in my heart
`•.¸.•´


With Lots of Love.....

THANKS AND REGARDS

Jeffery Jacob

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to