Reload
| From: | Rodrigo San Martin | Date: | Sat, 24 Aug 2002 04:50:40 +0000 |
| Subject: | Reload | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-15480@lists.php.net to get a copy of this message | ||
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