Create and include a variable in SimplePie (PHP)

nicolejam

New Member
Within the code below, how do I set VAR as some variable and then include it within the SimplePie code as the feed URL? The "feed" code is from the Simplepie PHP libary.\[code\]<?php$VAR = "http://website.com/feed/";$feed1 = new SimplePie();$feed1->set_feed_url('$VAR'); $feed1->init();?>\[/code\]
 
Back
Top