Hi mates,

<tr>
<td class="Q1" valign="top" style="width: 5px;"><?php echo '<img src="faq/img/icons/article_icon.gif" border="0" alt="Question" title="Question" />'; ?></td>
<td valign="bottom" class="question"><p><a href="ques.php?recordID=<?php echo $faqs['question']; ?>"> <?php echo ($faqs['question']); ?></a></p></td>
</tr>

I have a link in a file as above said. The link works perfect and directs me to the particular file "ques.php".


Same like, I have another file where I have a class where a link is described in echo as below code.


public static function list_ext_faqs($sql_resultset){
while($ext_faqs=db_fetch_array($sql_resultset)){
$faq_question = FaqExternal::trim_link_text($ext_faqs['question']);

echo '<img src="faq/img/icons/article_icon.gif" border="0" alt="Question" title="Question" />&nbsp;<a href="' . FaqFuncs::format_url(FILE_FAQ, 'cid=' . $ext_faqs['cid'] . '&answer=' . $faqs['id'], 'SSL', $faqs['question']) . '#f'.$faqs['id'] . '">'.$faq_question.'</a>' . '<br />';
}
}



The anchor tag which is present in class to be converted as above said method. Even tell me the possible changes in query also.