[thelist] html question.. simple

Christian Heilmann codepo8 at gmail.com
Tue Aug 8 17:30:54 CDT 2006


On 8/8/06, Paul Bennett <Paul.Bennett at wcc.govt.nz> wrote:
> Clever bugger.
>
> Oooh, but he DID want to send the user to different URL's.... ;)
> I suppose with your example you could just use:

That or just assemble the url

$url=isset($_GET['button1'])?'http://www.yahoo.co.uk':'http://www.icant.co.uk/';
header('Location:'+url);


-- 
Chris Heilmann
Book: http://www.beginningjavascript.com
Blog: http://www.wait-till-i.com
Writing: http://icant.co.uk/



More information about the thelist mailing list