I think, you're mistaken in how if
works...?
global$post_meta $wp_query;= get_post_meta(
$postid = $wp_query $GLOBALS['wp_query']->post->ID;>ID,
if ( ! empty( get_post_meta($postid, 'TourURL',
true
);
if )(! empty($post_meta)) echo '<P>Show'<p>Show Link</P>';p>';
else echo '<P>No'<p>No Link</P>';
wp_reset_query();p>';
This should do what you want - if I understood you correctly.
// EditUPDATED
If you want to work with the meta data, you might want to use a variable to store the data, then check if this variable is empty.