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:

<a href="<?php joe(); ?>"> Click here to start "function joe()". </a>

function joe() {
  echo "The result of this function is: " . $result;


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

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to