Jump to content

Unexpected T_String


sphinx

Recommended Posts

Hi.

 

I'm trying to use this code:

<?php previous_post_link('%link', '<img src="http://localhost/website.gif" alt="Previous" />' true) ?>

But I get the error:

 

Parse error: syntax error, unexpected T_STRING

 

Will this be related to the code incorrect for wordpress or a general error?

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/292368-unexpected-t_string/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.