finding user click a link

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rohitrohitrohit
    New Member
    • Oct 2007
    • 18

    finding user click a link

    learning php ...
    how to find that user click a link on php page?any example
    Last edited by rohitrohitrohit; Oct 13 '08, 09:19 AM. Reason: clearing my question
  • Atli
    Recognized Expert Expert
    • Nov 2006
    • 5062

    #2
    Hi.

    PHP is a server-side language, so there is no way for it to directly interact with the client.

    The only way to trigger any code when the user clicks a link is to either have that link redirect the user to a specific PHP page, which then runs the code, or have a client-side language (like Javascript) detect the click and trigger whatever code you need triggered.

    If you need anything more specific than that, then you are going to have to be more specific in your question. We don't like to guess.

    Comment

    Working...