Forum Moderators: coopster
Here's the code i've got thus far;
<?php
$testimfiles = array (
'testimonials/testim_1.inc',
'testimonials/testim_2.inc',
'testimonials/testim_3.inc',
'testimonials/testim_4.inc'
)
include ($testimfiles[rand(0,3)]LIMIT 1) ;
?>
as of right now, it's giving me an 'unexpected T_INCLUDE' error. not sure where to go from here.
Thank you!
<?php
$testimfiles = array (
'testimonials/testim_1.inc',
'testimonials/testim_2.inc',
'testimonials/testim_3.inc',
'testimonials/testim_4.inc'
);
include ($testimfiles[rand(0,3)]) ;
?>