Remplace ->fetchArray() avec execute().

C'est tous ma francaise.  Bon chance!


Wes

2010/11/8 gwanael Neiveyans <[email protected]>

> Bonjour a tous et merci d'avance pour vos réponses,
>
> Voila, c'est un problème simple mais je sèche complètement.
>
> J’exécute une requête dans un executeIndex:
> $this->req = Doctrine_query::create()
>                ->select('*')
>                ->from('utilisateur')
>                ->fetchArray();
>
> Que je veux afficher dans mon indexSucess:
> <?php foreach($req as $res)
> echo $res;?>
>
> Seul bémol, malgré une table ayant des utilisateurs de rentré, ma page
> de test reste blanche.
>
> Si quelqu'un peux voler a mon secours :).
>
> Merci.
>
> --
> If you want to report a vulnerability issue on symfony, please send it to
> security at symfony-project.com
>
> 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]<symfony-users%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>



-- 
Wesley John-Alder
http://punkave.com
http://occs.oberlin.edu/~wjohnald
BA Computer Science, Oberlin College 2007
Appalachian Trail 2008
cell: 609-558-4476

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

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