Having script ready in a PHP page

From: Date: Thu, 24 Aug 2000 04:34:25 +0000
Subject: Having script ready in a PHP page
Groups: php.general 
Request: Send a blank email to php-general+get-13296@lists.php.net to get a copy of this message
Hi Guys, In JavaScript you can define functions, and have only have them processed when you want them, ie when a button is pressed. you just go onClick="doFunction()", that'll do it. Can you do this in PHP. Have a php page, which is used to dynamically write the content to the browser and then have 'functions' ready to handle what a user does, rather than having to call new .php file?? thanks

« previous php.general (#13296) next »