Есть ли ошибка в коде?
-
Привет, есть ли ошибка в этом коде? при его вставке в шаблон появляется ошибка: Parse error: syntax error, unexpected $end in …..php on line 177
где 177 строка пустая<?php $date_today_server = date("y.m.d"); query_posts('cat=3&showposts=15'); if (have_posts()) : while (have_posts()) : the_post(); $data_end_post = get_post_meta($post->ID, 'data_end_gg_mm_dd', true); $minimage_thumb = get_post_meta($post->ID, 'minimage', true); if ($date_today_server <= $data_end_post) { ?> <?=$minimage_thumb;?> <?php the_permalink() ?> <?php the_title(); ?> <?php the_title(); ?> <?} else {} endwhile; endif; ?>
Просмотр 2 ответов — с 1 по 2 (всего 2)
Просмотр 2 ответов — с 1 по 2 (всего 2)
- Тема «Есть ли ошибка в коде?» закрыта для новых ответов.