Php error with custom wordpress search files--not sure what the problem is

Hi there,
I created a custom search for a wordpress theme. It worked fine for me and I tested it on a lot of browsers, but my client’s IT guy said that it didn’t work. The issue has been resolved, but I still am not aware of what I did wrong. The IT guy said the following lines were problematic:

on searchform.php:

on search.php:
<?php endwhile;
endif; ?>

Here are the files in their entirety:


<?php /* Template Name: Search Page */ ?>


<?php get_header(); ?>
<?php if ( have_posts() ) : ?> <?php while ( have_posts() ) : the_post() ?>

<?php the_title(); ?>

<?php the_time('F jS, Y') ?>

> <?php the_content(); ?>
<?php endwhile; endif; ?>
<?php get_sidebar(); ?> <?php get_footer(); ?>

Any help would be greatly appreciated!!!

Sponsor our Newsletter | Privacy Policy | Terms of Service