thx :)

On 5 Sty, 14:01, klemens_u <[email protected]> wrote:
> Hi Alex,
>
> try this to get the PDO connection:
>
> $dbh = Doctrine_Manager::getInstance()->getCurrentConnection()->getDbh
> ();
> $result = $dbh->query("SELECT * FROM my_table");
>
> :-) Klemens
>
> On 5 Jan., 13:23, alexmm <[email protected]> wrote:
>
> > I want to make normal query in symfony and doctrine without models
> > etc. I am trying:
>
> > $result = Doctrine_Manager::connection()->getDbh()->query("SELECT *
> > FROM table")->execute();
> > print_r($result);
>
> > but I get nothing :(

--

You received this message because you are subscribed to the Google Groups 
"symfony users" 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/symfony-users?hl=en.


Reply via email to