controlle ton deuxieme parametre, tu fournit un array la ou une string est
attendue.

http://book.cakephp.org/view/316/Helpers
http://api.cakephp.org/class_html_helper.html#71ff7f331b08318bc867a4d9057b7d9f

On Wed, Nov 19, 2008 at 6:31 PM, nelson <[EMAIL PROTECTED]> wrote:

>
> Bonjour a tous,
>
> Je viens de me lancer dans un nouveau projet web, et je commence a
> créer le menu.
>
> Je connais actuellement deux probleme liéer au "array" PHP, en effet,
> que ce soit dans la fonction link($html) ou css($html), le résultat
> attendu n'est pas celui obtenu.
>
> Voici un exemple :
> Code : <?php echo $html->link('Inscription', array('controller' =>
> 'user','action' => 'inscription') ) ?>
> Html obtenu : <a href="/clubup/pages/Array">Inscription</a>
>
> De même, j'obtient cette erreur, je ne sais pas si elle peux aider :
>
> Notice: Array to string conversion in C:\wamp\www\clubup\cake\libs\view
> \helpers\html.php on line 179
>
> Notice: Array to string conversion in C:\wamp\www\clubup\cake\libs\view
> \helpers\html.php on line 179
>
> Notice: Array to string conversion in C:\wamp\www\clubup\cake\libs\view
> \helpers\html.php on line 179
>
> Notice: Array to string conversion in C:\wamp\www\clubup\cake\libs\view
> \helpers\html.php on line 179
>
> Notice: Undefined offset: 0 in C:\wamp\www\clubup\cake\libs\view
> \helpers\html.php on line 139
>
>
> Merci a tous d'avance
> Cdlt, Nelson
>
> >
>

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

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 à