السلام عليكم ورحمة الله وبركاتة نرجو من جميع الاعضاء اللتزام بقوانين المنتدى وعدم نشر برنامج او فلم او اغنية او اي شئ له حقوق ملكية كما يمنع نشر السيريالات والكراكات للبرامج ومن يخالف تلك التعليمات سيتم حظر حسابة للابد والسلام عليكم ورحمة الله

1 Answer

0 votes
by (10.2k points)
اخى الكريم هذا الكود سوف يساعدك فى عمل ال Rss من خلال Php
هذا هو
<?php<br /> include('include/config.php');
header('Content-Type: application/xml');
echo "<?xml version=\"1.0\" encoding=\"windows-1256\"?>\n";
?>

 
   أكتب اسم الموقع هنا
   اكت عنوان موقعك
   وصف بسيط لفائدة الملف rss
<?<br /> $result = mysql_query("select * from product order by pro_date DESC limit 20") or die(mysql_error());
while($last= mysql_fetch_assoc($result)) {
?>
   
     <? print $last['pro_name']; ?>
     <? print "$weburl/mobinfo.php?id=$last[pro_id]"; ?>
     ÓÚÑ ÇáÌåÇÒ <? if(empty($last['pro_priceeg'])){ print<br /> "ÛíÑ ãÚÑæÝ"; }else{ print "$last[pro_priceeg] ÌäíÉ
ãÕÑí"; } ?>
   
<? } ?>
<?<br /> $news_r= mysql_query("select * from news order by n_date DESC limit 10") or die(mysql_error());
while($news= mysql_fetch_assoc($news_r)) {
?>
   
     <? print $news['n_title']; ?>
     <? print "$weburl/news_info.php?nid=$news[n_id]"; ?>
     <? print htmlspecialchars($news['n_text1']); ?>
   
   <? } ?>
 
...