Everything is already converted from catalog to admin to view, add, delete and so on
Need some help on this though to get answer_text working with the following
database => question_description table and then => questions_id languages_id questions_text answer_text
Like reviews, the product id is tied to the questions id
product_questions.php (product_reviews.php)
$questions_query_raw = "select r.questions_id, left(rd.questions_text, 180) as questions_text, r.date_added, r.customers_name from " . TABLE_QUESTIONS . " r, " . TABLE_QUESTIONS_DESCRIPTION . " rd where r.products_id = '" . (int)$product_info['products_id'] . "' and r.questions_id = rd.questions_id and rd.languages_id = '" . (int)$languages_id . "' order by r.questions_id desc"; $questions_split = new splitPageResults($questions_query_raw, MAX_DISPLAY_NEW_QUESTIONS);
then further down I have
<td valign="top" class="main"><?php echo 'Q. ' . tep_break_string(tep_output_string_protected($questions['questions_text']), 60, '-<br>') . ((strlen($questions['questions_text']) >= 100) ? '..' : '') . '<br><br><i>';
?>
<?php echo 'A. ' . tep_break_string(tep_output_string_protected($questions_description['answer_text']), 60, '-<br>') . ((strlen($questions_descriptions['answer_text']) >= 100) ? '..' : '');
?>
As you can see, I tried to output the answer for the question
Any help in the right direction please
















