Ok I solve this problem but another appears :

<?php echo $html->selectTag('Languages/language',$languagelist ,
$lang, null, null,
false);?>

The $lang variable must be a language_id from categories table. Did
anyone know how to retrieve language_id? I only pass a categories id
in my view (categories/edit/41)  but i want the language select box to
be selected . If  I edit my spanish categories i always have croatian
selected .Did anyone know how to solve this problem? How to pass the
third parameter in my selectTag.

Please help

Stachu


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

Reply via email to