Re: Onclick and PhP
| From: | Flugel | Date: | Wed, 15 Aug 2001 09:56:42 +0000 |
| Subject: | Re: Onclick and PhP | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-62804@lists.php.net to get a copy of this message | ||
Is it also possible for the output of that php-page (MySQL query) to be
displayed in a layer on the page where the button is located?
"Renze Munnik" <renze@datalink.nl> wrote in message
news:20010815115732.G15317@pro-pain.telemediair.nl...
> On Wed, Aug 15, 2001 at 11:45:03AM +0200, Flugel wrote:
> > When a page is loaded the php code is being executed, is this also
possible
> > for an onclick event? If so how do I do that?
> >
> > tnx!
>
>
> No. PHP is server-side, not client-side like onclick (JS). The only
> way to do things like that is:
>
> onclick="window.location.href='blahblahblah.php';"
>
> --
>
> * R&zE:
>
> -- »»»»»»»»»»»»»»»»»»»»»»»»
> -- Renze Munnik
> -- DataLink BV
> --
> -- E: renze@datalink.nl
> -- W: +31 23 5326162
> -- F: +31 23 5322144
> -- M: +31 6 21811143
> -- H: +31 23 5516190
> --
> -- Stationsplein 82
> -- 2011 LM HAARLEM
> --
> -- http://www.datalink.nl
> -- ««««««««««««««««««««««««