Parse error: syntax error, unexpected T_CLASS in /home/luoxxx/includes/mobile.php on line 89

Asked by www.simakai.net

i got this erro:
Parse error: syntax error, unexpected T_CLASS in /home/luoxxx/includes/mobile.php on line 89

could you please to help me?

Question information

Language:
English Edit question
Status:
Solved
For:
Jisko Edit question
Assignee:
No assignee Edit question
Solved by:
iblog360
Solved:
Last query:
Last reply:
Revision history for this message
Best iblog360 (fhadkhan) said :
#1

replace it with this:

return "<span class="text-decoration:line-through">" . $matches[2] . "</span>";

Revision history for this message
Marcos Garcia (marcosgdf) said :
#2

I can't find an error in that file. Could be a problem with your PHP installation?

Thanks!

Revision history for this message
www.simakai.net (ano) said :
#3

#iblog360 Thank you. I've done and it worked now.

Revision history for this message
www.simakai.net (ano) said :
#4

The ornigin:

return '<span class="text-decoration:line-through">' . $matches[2] . '</span>';

fixed ưitj :

return "<span class="text-decoration:line-through">" . $matches[2] . "</span>";

It's maybe an error about syntax!

Revision history for this message
www.simakai.net (ano) said :
#5

Thanks iblog360, that solved my question.