Kod: print ("\n<table><tr><td><div><a href=\"" . $rss_channel . "\" class=popupLink onMouseOver=\"return! showPopup('1', event);\" onMouseOut=\"hideCurrentPopup \">" . $rss_channel . "</a></div></tr><tr>"); print ("<td><DIV onclick=\'event. cancelBubble = true;\' class=popup id=1>" . $rss_channel . "</div></td></tr></table><br>"); burda 2 yerde aynı sayı değerini vermek istiyorum 1. satır Kod: ! showPopup('1', event); ve 2. satır Kod: id=1 1 yerine arka arkaya çıkacak döngülerde 1,2,3,4,5,6,7... diye artan değerler oluşturmak istiyorum Yardım edermisiniz.. Sayfanın gerisi bu Kod: <html> <head> <TITLE>Rss Reader</TITLE> <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-9"> <META http-equiv="Content-Type" content="text/html; charset=windows-1254"> <LINK rel="stylesheet" type="text/css" href="stylesheet. css"> <script src="utility. js"></script> <script src="popup. js"></script> </head> <?PHP $file = "http://www.cnnturk.com/servisler/rss/anasayfa. rss"; set_time_limit(0); $rss_channel = array ; $currently_writing = ""; $main = ""; $item_counter = 0; function startElement { global $rss_channel, $currently_writing, $main; switch } function endElement { global $rss_channel, $currently_writing, $item_counter; $currently_writing = ""; if } function characterData { global $rss_channel, $currently_writing, $main, $item_counter; if { switch { case "CHANNEL": if (isset else break; case "IMAGE": if (isset else break; case "ITEMS": if (isset else break; } } } $xml_parser = xml_parser_create ; xml_set_element_handler ; xml_set_character_data_handler ; if (!($fp = fopen while ($data = fread($fp, 4096)) { if (! xml_parse($xml_parser, $data, feof } xml_parser_free ; // output HTML // optional: change CSS class names here to match your site or add them to your CSS for new styles. print ; print ; if (isset { if (count > 0) { for($i = 0;$i < count ;$i++) { if (isset else print ("<td><DIV onclick=\'event. cancelBubble = true;\' class=popup id=1>" . $rss_channel . "</div></td></tr></table><br>"); } } else } ?> </body> </html>