⚠ 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

$crud->set_relation and mail notification problem



Adrian
  • profile picture
  • Member

Posted 13 May 2015 - 22:16 PM

Hello,

 

I have a set relation in my main controller:

 

crud->set_relation('Id_company','company','Name_of_company');

 

 

When i try to send company name by email I can get only id number. I cant get Name_of_company related to specified row in my main table.

 

How can I send by email just company name (without the id)? 

 

P.S.

 

Email data looks like this:

 

id company '38'
name of company ''

 

Regards

Adrian

 


Paul Savostin
  • profile picture
  • Member

Posted 03 June 2015 - 11:35 AM

Hi! too little information for us to see possible mistakes. All looks fine to me