Jump to content

What will make this line of code work?


Novice@PHP

Recommended Posts

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);

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.