Hyperlink modified dynamically
Hyperlink modified dynamically
am 15.08.2007 08:56:16 von jack
I want a Hyperlink that modifies dynamically the target after every click.
The link text/gif should be permanent, but the link target should be taken
from a dynamic file/table in the server, and modified following every click
by any user.
Does PHP support that?
Thanks
Jack
Re: Hyperlink modified dynamically
am 15.08.2007 10:50:06 von luiheidsgoeroe
On Wed, 15 Aug 2007 08:56:16 +0200, Jack wrote:
> I want a Hyperlink that modifies dynamically the target after every
> click.
> The link text/gif should be permanent, but the link target should be
> taken
> from a dynamic file/table in the server, and modified following every
> click
> by any user.
> Does PHP support that?
Only if you're willing to reload the whole page, else you're stuck with
javascript.
--
Rik Wasmus
Re: Hyperlink modified dynamically
am 15.08.2007 11:00:53 von gosha bine
On 15.08.2007 08:56 Jack wrote:
> I want a Hyperlink that modifies dynamically the target after every click.
> The link text/gif should be permanent, but the link target should be taken
> from a dynamic file/table in the server, and modified following every click
> by any user.
> Does PHP support that?
No, php has no idea on what a 'click' is.
--
gosha bine
makrell ~ http://www.tagarga.com/blok/makrell
php done right ;) http://code.google.com/p/pihipi
Re: Hyperlink modified dynamically
am 15.08.2007 12:31:59 von Hans-Peter Sauer
> I want a Hyperlink that modifies dynamically the target after every click.
> The link text/gif should be permanent, but the link target should be taken
> from a dynamic file/table in the server, and modified following every click
> by any user.
> Does PHP support that?
>
Yes - just grab the link from the file before the page is displayed .
--
(c) The Amazing Krustov
Re: Hyperlink modified dynamically
am 15.08.2007 14:34:25 von Matt White
"Krustov" wrote in message
news:MPG.212ce669ae59c60a98aba2@news.newsreader.com...
>
>
>
>
>
>> I want a Hyperlink that modifies dynamically the target after every
>> click.
>> The link text/gif should be permanent, but the link target should be
>> taken
>> from a dynamic file/table in the server, and modified following every
>> click
>> by any user.
>> Does PHP support that?
>>
>
> Yes - just grab the link from the file before the page is displayed .
>
>
> --
> (c) The Amazing Krustov
^^ No, that is if the page reloads, which it doesn't.
If I were you, I would go with a JavaScript function that dynamically loads
the PHP file, checks the values of the link against it, and then changes the
link.
Matt