Hyperlink modified dynamically

This is a discussion on Hyperlink modified dynamically within the PHP Language forums, part of the PHP Programming Forums category; I want a Hyperlink that modifies dynamically the target after every click. The link text/gif should be permanent, but ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-15-2007
Jack
 
Posts: n/a
Default Hyperlink modified dynamically

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


Reply With Quote
  #2 (permalink)  
Old 08-15-2007
Rik
 
Posts: n/a
Default Re: Hyperlink modified dynamically

On Wed, 15 Aug 2007 08:56:16 +0200, Jack <Jack@lack.net.il> 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
Reply With Quote
  #3 (permalink)  
Old 08-15-2007
gosha bine
 
Posts: n/a
Default Re: Hyperlink modified dynamically

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
Reply With Quote
  #4 (permalink)  
Old 08-15-2007
Krustov
 
Posts: n/a
Default Re: Hyperlink modified dynamically

<comp.lang.php>
<Jack>
<Wed, 15 Aug 2007 08:56:16 +0200>
<f9u4k2$5c0$1@news2.netvision.net.il>

> 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
Reply With Quote
  #5 (permalink)  
Old 08-15-2007
Matthew White
 
Posts: n/a
Default Re: Hyperlink modified dynamically

"Krustov" <me@privacy.net> wrote in message
news:MPG.212ce669ae59c60a98aba2@news.newsreader.co m...
> <comp.lang.php>
> <Jack>
> <Wed, 15 Aug 2007 08:56:16 +0200>
> <f9u4k2$5c0$1@news2.netvision.net.il>
>
>> 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

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 09:00 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0