
sublmnl
User
Feb 22, 2011, 1:11 PM
Post #1 of 6
(1102 views)
Shortcut
|
|
Need help with IF statement
|
Can't Post
|
|
Reaching out to the board once again. Thanks for all the previous help!. Lets say I have two linked images by each entry. Maybe some entries only have one link/image but not both and other entries have both links/images. The images are the same for everyone (facebook, twitter icons) so the echo works well here. I may even have some entries that have no linked images. I want to show the image only if the client puts a link for it in the CMS. So something like this but need PHP to get it done. --- If link in CMS, then show image If no link in CMS then skip and move onto the next image and check for link. If no links, then don't show images at all. Makes sense?
|