Echo something if something else is there…
Hello everybody! I have this piece of code in my query:
[please mark your code using the code button or backticks]
<?php $image3 = get_post_meta($post->ID, "Image3", true); echo $image3; ?>
And I want to have on another place a code which checks if there acutally IS an Image3…If I added the custom-field Image3 in that post. If not nothing should be echoed…but IF there is an Image3 than on that place should be
Please help me! Thanks a lot!
- The topic ‘Echo something if something else is there…’ is closed to new replies.