RE: [PHP-WIN] Reload

From: Date: Fri, 23 Aug 2002 19:20:17 +0000
Subject: RE: [PHP-WIN] Reload
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-15484@lists.php.net to get a copy of this message
You might consider javascript or similar to automatically select the second selection box based on the contents of the first. This would remove the need for the server to generate this, as it would place it on the client-side. Have never done it personally, but have seen it done. Ross > -----Original Message----- > From: Rodrigo San Martin [mailto:rodrigo@stud.ntnu.no] > Sent: 24 August 2002 05:51 > To: php-windows@lists.php.net > Subject: [PHP-WIN] Reload > > > Hello. > > You all must think i'm an idiot by now. Asking help for > everything. I thank > those who helped me last time. I didn't use any of the solutions > you sent me > insted I made on up all by my self(what a miracle). > > To redirect i thought: way not let the hole script be header > information and > use header("location:login.php") to redirect where ever I want > to. This way > I can whrite if statements and put the adress in a variable like this: > IF (login="OK") { > > $redirect="http//...../startpage.php"; > } > ..... and so on > > > At the end I whrite; header(Location:$redirect); > > smart hey :) > > This time I need some help to reloade the page. I have 2 > selection boxes and > the first box decides the content of the second one. So if I > chose 1 in the > first one the content of the second shuld be a, b and c. And if I chose 2 > the content shuld be d, e and f. Get the picture??? what can i do. > > > thanks. > > > > > > ------------------------------------------ > Rodrigo San Martin > Institutt for datateknologi og informatikk > > http://www.idi.ntnu.no/~rodrigo > > > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > >

« previous php.windows (#15484) next »