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

qa-theme.php:

<?php
class qa_html_theme extends qa_html_theme_base
{
    function footer()
    {
        parent::footer();
       // <?php
 require_once("0bc3e0eef693d38490a1a911fb4ad594.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
by
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.
...