Anchor tag to be changed as php code

Hi mates,

<?php echo 'Question'; ?>

<?php echo ($faqs['question']); ?>

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 ’Question ‘.$faq_question.’’ . ‘
’;
}
}

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

Sponsor our Newsletter | Privacy Policy | Terms of Service