![]() |
Problem with RSS2: multiple rss in the same page
Hello, I'm using this code:
http://www.vbulletin.com/forum/showt...g-an-RSS2-feed If I try to use it twice, I get this error: Quote:
|
No one can help me?
|
Each block like
Code:
function something() |
Thank you, now it works! I have just one problem. In the second list, I get also the results of the first website. How can I solve this?
|
You need to include
$rss2_output = ''; before you use the code the second time. |
Aaah I've been looking for this, I'm also on the same lines as Triky was with duplicating the results, not sure how to solve it even though you said that I need to include the output before re-using the code again.
What I have so far is this: PHP Code:
|
Try this:
PHP Code:
It would be better to put the code in a function where you pass the file name and return the string, but this should work. |
All times are GMT. The time now is 01:39 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|