Welcome to WebmasterWorld Guest from 54.221.28.179

Forum Moderators: bill & werty

Message Too Old, No Replies

CaRP - Can we check for returned data before dumping to page

CaRP check for data before output

     

dareRock

2:16 pm on Feb 24, 2006 (gmt 0)

10+ Year Member



A quick question to those familiar with CaRP.

Using PHP, can we do something like the following?

-------
...
...
$feedUrl = 'http://www.widgits.com/widgits.rss';
$data = CarpCacheShow($feedUrl);
if($data){
echo $data;
} else {
echo 'No data to display';
}
-------

have had no luck with this or variations.

any advice/help would be appreciated.

 

Featured Threads

Hot Threads This Week

Hot Threads This Month