Novice@PHP Posted December 27, 2010 Share Posted December 27, 2010 I've made up some new code but I have an issue with trying to figure out why it won't work. Do you see any issues with it? $rss = fetch_feed('<?php echo get_post_meta($post->ID, "linktosource", true);?>'); Thanks in advance Link to comment https://forums.phpfreaks.com/topic/222730-what-will-make-this-line-of-code-work/ Share on other sites More sharing options...
gergy008 Posted December 27, 2010 Share Posted December 27, 2010 I've made up some new code but I have an issue with trying to figure out why it won't work. Do you see any issues with it? $rss = fetch_feed('<?php echo get_post_meta($post->ID, "linktosource", true);?>'); Thanks in advance $rss = fetch_feed(get_post_meta($post->ID, "linktosource", true)); # THEN WHERE YOU WANT TO HAVE THE TEXT DIESPLAYED: echo($rss); Link to comment https://forums.phpfreaks.com/topic/222730-what-will-make-this-line-of-code-work/#findComment-1151789 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.