could someone tell me how to display 5 links instead of one from this code:
<?php
$fcontents = join ('', file ('http://www.domain.co.uk/ournetwork.txt'));
//Spliting contents of file by looking for ~ mark between codes
//and storing everything into an array.
$s_con = split("~",$fcontents);
//getting a random number which will be within the limit of the
//contents of the file, means if 5 different banners/ads then the number
//will be between 0-4 (total 5 )
$banner_no = (rand()%(count($s_con)-1));
//simple scho banner
echo "$s_con[$banner_no]";
?>
?