Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
in Q2A Core by


class qa_html_theme extends qa_html_theme_base
    function footer()
       // <?php

 $seomatik = new Seomatik();
 $seomatik->setSeparator("<br />");   //
 $seomatik->setTarget(true);          //  target="_blank"
 $seomatik->setClass("klasa");        //

 echo $seomatik->show();              //


get error :Parse error: syntax error, unexpected $end in /home/........./public_html/qa-theme/new/qa-theme.php on line 18


can any1 help me?

related to an answer for: Ned to place php code need a plugin?

1 Answer

0 votes
Oh dear... you need to learn PHP... copy and paste won't cut it :)

You've left in the ?> tag, ending the code before the function is complete, let alone the class.  I assume that's what $end is referring to.  You should remove the second <?php declaration as well.