Coder help needed
-
I’m trying to figure out a global post-to-post navigational scheme and I haven’t a clue what I’m doing. I need help with a code snippet. I have it right below the content div in my index.php file. I’m getting a parse error, unexpected on the last ‘}’:
if (basename(__FILE__) == 'index.php' && $_SERVER['QUERY_STRING'] =='') {
previous_post('%','<img src="https://www.bbiverson.com/images/buttons/previous.jpg" alt="Read Previous Entry" align="middle" />Previous Entry', 'no', 'no', 1, '')
} else {
previous_post('%','<img src="https://www.bbiverson.com/images/buttons/previous.jpg" alt="Read Previous Entry" align="middle" />Previous Entry', 'no', 'no', 1, '') ?>
">Latest Entry
<?php next_post('%','Next Entry<img src="https://www.bbiverson.com/images/buttons/next.jpg" alt="Read Next Entry" align="middle" />','no','no',1,'');
}
Can someone help me?
- The topic ‘Coder help needed’ is closed to new replies.