⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

[SOLVED] set_relation() putting 2 fields in 1 cell



ufodisko
  • profile picture
  • Member

Posted 28 September 2012 - 20:04 PM

I have set up a normal relation using 2 tables; set_relation()


$crud->set_relation('contactID','contacts', 'firstName');


I'm associating each property in the database with an owner from the "contacts" table.
The thing is, it shows only the first name of the contact/owner, I wanna show both his first and last name.

Is that possible?

EDIT: I found the answer, I really should search more before posting. Apologies.