georgie
Member
Hello Fabrik community
Sorry for these simple PHP question, but ... I block !
I have never use it in Fabrik, I know my code begins to work because I can see good results in an array (with a var_dump or print).
But I cannot display results beautifully in my website, arrrgh. I try some foreach syntaxes, without success.
Please can you help me?
Here my code:
THX in advance for all advices!
Sorry for these simple PHP question, but ... I block !
I have never use it in Fabrik, I know my code begins to work because I can see good results in an array (with a var_dump or print).
But I cannot display results beautifully in my website, arrrgh. I try some foreach syntaxes, without success.
Please can you help me?
Here my code:
Code:
$monId = '{pipelines___id}';
$myDb = FabrikWorker::getDbo(false, 5);
$myQuery = $myDb->getQuery(true);
$myQuery->select('link_contact, notes')
->from('pipelines_links')
->where('pipeline_id = ' . $myDb->quote($monId));
$myDb->setQuery($myQuery);
$myResults = $myDb->loadAssocList();
Then?
THX in advance for all advices!