bernholdt Posted January 4, 2009 Share Posted January 4, 2009 Hi im in a little trouble here ??? I have connected a couple of scripts to make it possible for users to upload xml files. now my problem is that the site get Waaaay to long and people have to scroll for hours to be able to see all xml files. If there is anyone in here that could help me get the script to create a new page on every other file i would be wery happy. The code is to long to post here so i added a link to a txt file on my server. www.music-feeds.com/code.txt and this is the html output. <!-- files --> <? if($file_list): ?> <? foreach($file_list as $item) : ?> <tr class="file"> <td class="name"><img src="<?=$this_script?>?image=<?=$item['ext']?>" alt="<?=$item['ext']?>" /> <?=$item['link']?> | <?=isDL('<a href="'.$this_script.'?download='.$item['name'].'.'.$item['ext'].'"><img border="0" src="'.$this_script.'?image=download" alt="Download '.$item['name'].'.'.$item['ext'].'" /></a>')?> | <?=$item['size']['num']?><span><?=$item['size']['str']?></span> | <?=time_ago($item['mtime'])?> old | </td> </tr> <tr class="file"> <td class="name"><? DrawPlaylist($item['name'].".xml", "tech-"); ?></td> </tr> <? endforeach; ?> <? endif; ?> <!-- /files --> Regards Michael RAsmussen Music-Feeds.com Link to comment https://forums.phpfreaks.com/topic/139435-new-page-break/ Share on other sites More sharing options...
gevans Posted January 4, 2009 Share Posted January 4, 2009 Have you thought having the main page as a list of links to the xml files you want to show? Link to comment https://forums.phpfreaks.com/topic/139435-new-page-break/#findComment-729415 Share on other sites More sharing options...
bernholdt Posted January 4, 2009 Author Share Posted January 4, 2009 Have you thought having the main page as a list of links to the xml files you want to show? Yea i but not exactly what i had in mínd Link to comment https://forums.phpfreaks.com/topic/139435-new-page-break/#findComment-729441 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.