You are here: Re: Action link « PHP Programming Language « IT news, forums, messages
Re: Action link

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
==================

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация