On Wed, 2008-11-05 at 12:41 -0600, WEISD wrote: > On a php web page I want to generate a random number between say 1 and 10 > and then use that number to reference a particular file in an include tag. > > <?php include('GeneratedNumber.html'); ?> > > Is there an easy way to do this? > > Thanks > include "manual.php"; lesson = new manual(); lesson->math->rand->read(); Ash www.ashleysheridan.co.uk