acrenc1989
Regular Member
- Aug 27, 2014
- 248
- 45
please anyone know how to add more html pages to this code ex: index3 index4.html etc
<?php
$randNumber = mt_rand(1,3);
if ( $randNumber == 1 )
{
include 'index1.html';
}
else
{
include 'index2.html';
}
<?php
$randNumber = mt_rand(1,3);
if ( $randNumber == 1 )
{
include 'index1.html';
}
else
{
include 'index2.html';
}