helo everyone
This is a code from a book i have bought. It gives me the following error.
syntax error, unexpected T_STRING, expecting T_PAAMAYIM_NEKUDOTAYIM in
preg_match (‚#<!-- START ‚. $tag . ‚ -->(.+?)<!-- END ‚.$tag . ‚ -->#si', $this->content, $tor);
$tor = str_replace (‚<!-- START ‚. $tag . ‚ -->', „", $tor[0]);
$tor = str_replace (‚<!-- END ‚ . $tag . ‚ -->', „", $tor);
preg_match is the line. Can anyone help me fix this?
I think you just copied the code examples that use typographic quotation marks instead of the “simple” quotation marks
"and'. The code should read: