Hi guys

I am new to Cake, but enjoying it so far.

One question I have regards generateList, and building a select list
with it using selectTag, etc.

I have a table with fields 'id,first_name,last_name' etc. However when
I use generateList on this table, the resulting select list will only
show the id, and nothing else, unless I change (say) first_name to
'name', and it will then show 'name' as the display value.

If you get me :)

How do I specify a field other than 'name' - or multiple fields if I
can, so I can show LastName,FirstName - as the 'display' value in a
select list using generateList?

Mark


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to