How to link a HMTL link with a PHP function?

Posted by Zhaf on Stack Overflow See other posts from Stack Overflow or by Zhaf
Published on 2010-06-12T06:43:52Z Indexed on 2010/06/12 6:53 UTC
Read the original article Hit count: 109

Filed under:

How to link a HTML link like this - <a href="#">Click here to log out</a>

to a PHP function like - logout()

What I need to do is, when people click a link, php will run the php function.

Please advice! :D

© Stack Overflow or respective owner

Related posts about php