Re: Onclick and PhP

From: Date: Wed, 15 Aug 2001 09:57:32 +0000
Subject: Re: Onclick and PhP
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-62803@lists.php.net to get a copy of this message
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 -- ««««««««««««««««««««««««

« previous php.general (#62803) next »