I have to access all values from two tables by using query.
I have used the below code. But it displays the second data table values only.
$aRules = $GLOBALS['MySQL']->getAll("SELECT `me_art_simple`.`id` , `me_art_simple`.`Title`,`me_art_conversation`.`id` , `me_art_conversation`.`Title` FROM `me_art_simple` , `me_art_conversation` where `me_art_simple`.`OwnerId` = `me_art_conversation`.`OwnerId`");
$aVars = array (
'bx_repeat:items' => $aRules,
);
echo $this->_oTemplate->parseHtmlByName('all_article', $aVars);
Then here I have to check the 'OwnerId' must be the LoggedID.
Anyone can help me ASAP.
Thanks in Advance.