Bonjour, j'ai essayé votre solution mais cela ne marche pas :

Notice: Array to string conversion in /var/www/cake_pompiers/cake/libs/
view/helpers/html.php on line 516

si je met le '<br>' cela marche correctement (ça fait donc un retour à
la ligne entre chaque radiobutton) mais aucun radiobutton de
selectionné :/

On 23 août, 09:49, "Mehdi AMINI" <[EMAIL PROTECTED]> wrote:
> Salut,
>
> > <?php echo $html->radio('DemMateriel/Motif_Demande',
> > array("Réparation", "Remplacement", "Dotation"), '</br>' )?>
>
> Le '<br>' est faux, il devrait y avoir un tableau "attribute".
>
>  <?php echo $html->radio('DemMateriel/Motif_Demande',
>  array("Réparation", "Remplacement", "Dotation"), array('value'=>2) )?>
>
> Mehdi

--~--~---------~--~----~------------~-------~--~----~

Groupe "Cakephp-fr".
Adresse : cakephp-fr@googlegroups.com
Pour résilier  : [EMAIL PROTECTED]
Pour les options : http://groups.google.com/group/cakephp-fr?hl=fr
-~----------~----~----~----~------~----~------~--~---

Répondre à