Re: calling user-defined php functions from <a href> tag

From: Date: Mon, 29 Jul 2002 08:59:38 +0000
Subject: Re: calling user-defined php functions from <a href> tag
Groups: php.general 
Request: Send a blank email to php-general+get-110129@lists.php.net to get a copy of this message
>There MUST be some creative way to call a user-defined PHP function from >an <a href> tag. No, there mustn't :-) >Does anyone have any suggestions? > >For example: > >====================================================================== ><html> ><a href="<?php joe(); ?>"> Click here to start "function joe()". ></a> > ><?php >function joe() { > $temp1=10; > $temp2=20; > $result=$temp1+$temp2; > echo "The result of this function is: " . $result; >} >?> > ></html> >====================================================================== > >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! See my post minutes ago about user clicking. If you can't find it, search for my name and "slow-motion" -- Like Music? http://l-i-e.com/artists.htm I'm looking for a PRO QUALITY two-input sound card supported by Linux (any major distro). Need to record live events (mixed already) to stereo CD-quality. Soundcard Recommendations? Software to handle the recording? Don't need fancy mixer stuff. Zero (0) post-production time. Just raw PCM/WAV/AIFF 16+ bit, 44.1KHz, Stereo audio-to-disk.

« previous php.general (#110129) next »