Re: functions via event handlers
| From: | Philip Thompson | Date: | Mon, 06 Sep 2004 23:49:32 +0000 |
| Subject: | Re: functions via event handlers | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-36081@lists.php.net to get a copy of this message | ||
Yemi,
On Sep 6, 2004, at 7:14 AM, Yemi Obembe wrote:
i'd just luv to ask if it is possibble to call a function in PHP by using event handlers (like onmouseover, onload) as done in javascript? if its possible, i'd appreciate someone to tutor me on it.As far as I know, this is not possible. Since PHP is server-side scripting (not client-side like JavaScript), all the code-processing is done before it ever reaches the client's computer. Because of this, you will never be able to use the code via event handlers. If anyone knows something different, please let me and Yemi know. ~Philip