Sorry, one more thing.
I’m trying to use another custom field rather than having to have the date as a tag.
<?php query_posts('showposts=10');?>
<?php $time = the_time('dmY'); ?>
<?php $key2="releasedate"; echo get_post_meta($post->ID, $key2, true); ?>
<?php $posts = get_posts(''.$key2.'='.$time.'&numberposts=10&offset=0');
foreach ($posts as $post) : start_wp(); ?>
<a href="<?php echo get_permalink() ?>"><?php $key="filmtitle"; echo get_post_meta($post->ID, $key, true); ?></a>
<?php endforeach; ?>
In theory, this should display the ‘filmtitle’ custom field of 10 posts which have todays date (ddmmyyyy) as their custom field ‘releasedate’ but it seems to just show any posts which have a ‘filmtitle’ field at all.
Thanks for all your help.
Charlie