Tuesday, 15 April 2014

php - Combine site content with external site rss -



php - Combine site content with external site rss -

i'm running classified ads site , planning display own content combined , external site rss. here got right after db query jobs ads,

while ($row = mysqli_fetch_array($results, mysqli_assoc)){ echo '<div class="media margin-none"> <a class="pull-left bg-inverse innerall text-center" href="#"><img src="'.$foto.'" share_alt="" width="100" height="100"></a> <div class="media-body innerall"> <h4 class="media-heading innert"> <a href="' . $row['title'] .'-da' . $row['id_ad'] . '" class="text-inverse">'. $remuneracion .' &nbsp; ' . substr(ucfirst(strtolower($row['title'])), 0, 53) . '</a> <small class="pull-right label label-default"><i class="fa fa-fw fa-calendar-o"></i> ' . $row['date_created'] . '</small></h4> <p>' . substr(ucfirst(strtolower($row['description'])), 0, 80) . ' ...</p>'; echo '</div> </div> <div class="col-separator-h"></div>'; } echo pagination($statement,$per_page,$page, $url_filtros, $filtros); ?>

it while loop utilize display ads database, best way display (in same loop?) other site's rss feed?

thanks

php mysql rss

No comments:

Post a Comment