Hello Angela,
On 16 Jan 2004 at 11:30, Angela K Hilton wrote:
> I'm trying to dynamically randomise a chunk of HTML that is used on a
> page, aka random image, so that each time a client opens the page [or
> refreshes] a part of the page changes.
>
> The chunks of HTML are saved in their own
Hello Angela,
Friday, January 16, 2004, 11:30:16 AM, you wrote:
AKH> // images in folder
AKH> $total = "5";
AKH> // file type
AKH> $file_type = ".htm, .gif, .jpg";
AKH> // dir location
AKH> $image_folder = "dir/dir";
AKH> $start = "1";
AKH> $random = mt_rand($start, $total);
AKH> $image_nam
Hi All
I'm new to this list and I suppose fairly new to PHP - and hope that
this question is in keeping with the type of thing that's usually asked.
I'm trying to dynamically randomise a chunk of HTML that is used on a
page, aka random image, so that each time a client opens the page [or
refresh
3 matches
Mail list logo