$contents = file_get_contents('banner.txt');
$arr = split('~',$contents);
$numads = count($arr) - 1;
$ad1 = rand(0,$numads);
$ad2 = $ad1;
while ($ad1 == $ad2) {
$ad2 = rand(0,$numads);
}
echo '
';
echo '';
echo '' . $arr[$ad1] . ' | ';
echo '' . $arr[$ad2] . ' | ';
echo '
';
echo '
';
?>
|
#196459 - 11/23/21 05:20 PM
Re: Hand Guns
[Re: Wayne Dengler]
|
Knife Enthusiast
Registered: 11/15/17
Posts: 364
Loc: The Sunflower State
|
|
Top
|
|
|
|
|
|
|