|
Posted by Jerry Stuckle on 04/13/06 21:00
Mark Towner wrote:
> Greetings,
>
> Does anyone have a solution for this problem:
>
> - I would like a PHP script to execute an action before a user clicks
> on a link (updating the value of a variable, for instance).
>
> Is there an easy way to do this?
>
> Thanks,
> Mark
>
Mark,
If I understand your question correctly, no, you can't do anything before the
user clicks on a link. PHP is server-side only, and nothing happens until the
user does something to request the page.
It sounds like you need something client-side, like javascript.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
[Back to original message]
|