Note the upgraded forum! If you are experiencing issues logging in, you may need to reset your password which should send an email. If the email doesn't arrive, be sure to check your spam folder just in case.

Getting tag relationships from fuel_model()

edited January 2017 in Modules
Hello! Is there any way of getting all the tags of an index from a fuel model?
I tried to use the fuel_model() to get that relations.

$result = $this->db->get()->result_array();
$careers= fuel_model('careers', ['find' => 'all', "where"=> ["id"=>$result['id']]);

foreach($careers as $career)
{
echo $career['interests'];
}

Comments

Sign In or Register to comment.