PHP Parse error: syntax error, unexpected 'endif' (T
I think Iam getting blind...
I really dont find the syntax error in my code
<?php if (!is_page(array('865'))); ?>
<h1><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h1>
<?php endif; ?>
Where is my mistake?!
best regards
必须有冒号而不是分号......
<?php if (!is_page(array('865'))): ?>
<h1><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h1>
<?php endif; ?>
链接地址: http://www.djcxy.com/p/69860.html
上一篇: 语法错误,意想不到的'endif'(T