Re: calling user-defined php functions from <a href> tag
| From: | Bob Lockie | Date: | Sat, 27 Jul 2002 03:13:06 +0000 |
| Subject: | Re: calling user-defined php functions from <a href> tag | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-109917@lists.php.net to get a copy of this message | ||
--Original Message Text---
From: Michael
Date: Fri, 26 Jul 2002 21:09:13 -0500 (EST)
Hi, everyone.
There MUST be some creative way to call a user-defined PHP function from
an <a href> tag. Does anyone have any suggestions?
For example:
======================================================================
"> Click here to start "function joe()".
======================================================================
So, if the user clicks on the link, he'll see: "The result of this
function is: 20"
Any ideas? Any help would be VERY much appreciated. Thanks!
-- Michael
It is not possible to do it in one step.
The web server parses ALL the PHP code, generates HTML, sends it to the browser.