Re: Run php function with user click
| From: | Miguel Cruz | Date: | Fri, 31 May 2002 17:53:56 +0000 |
| Subject: | Re: Run php function with user click | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-100135@lists.php.net to get a copy of this message | ||
On Fri, 31 May 2002, Dave Shacket wrote:
> I know how to have my php code run a function within itself. But is there a
> way that upon an event (clicking a button, etc.), you could run a php
> function without having to go to a new page?
javascript onclick or whatever can call a PHP program on your server.
miguel