Hello!
I have a user database containing first_name and last_name.
I want to generate a select menu which has the user id as the name, and
the combination of last_name, first_name as the tag value.
How would I do this? At the moment I have :
$this->set('user', $this->Transaction->User->generateList(null,
'last_name ASC', null, '{n}.User.id', '{n}.User.last_name' ));
But obviously that only shows the last name =\
Any ideas please?? Hopefully this makes sense :)
Mark
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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/cake-php
-~----------~----~----~----~------~----~------~--~---