Guys, not sure if this is a PHP problem or a more general HTML problem,
but...
I've written a small test script (see below), basically, which allows the
user to rotate an image by 90degrees.
When I press the button, the page reloads having rotated the image, but the
old image is still displayed.
As one who has had to do the same thing and had gotten some help from
this list I'll put in my two cents.
? $rand = rand(1000,); ?
img src=image.jpg?? echo $rand; ?
This echoes a ? with a random number behind the filename forcing a request
to the server for the image because you probably
Many thanks Ed, works a treat!
Regards
Adam White
Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 10 December 2002 18:31
To: Adam White
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] How to force an image to reload
As one who has had to do the same thing and had
Even though I did forget the ending on the tag. Cool.
Ed
On Tue, 10 Dec 2002, Adam White wrote:
Many thanks Ed, works a treat!
Regards
Adam White
Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 10 December 2002 18:31
To: Adam White
Cc: [EMAIL
4 matches
Mail list logo