Check user and redirect
From: Terje Sæternes (terje_at_cyberfactory.no)
Date: 10/30/04
- Next message: steve: "Re: Re: Re: What is so special about PHP?"
- Previous message: codeMonkey: "sqlite OO interface and exceptions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 30 Oct 2004 18:03:50 +0200
Hello folks... I'm stuck with this problem.
I'm look if it is a user with the username before and if so the variable
$totalRows_sjekkbrukernavn show how many, and should redirect to the
errorpage.
Should the code below work?
if (($totalRows_sjekkbrukernavn > 0) &&
(isset($HTTP_POST_VARS["MM_insert"]))) {
$insertGoTo = "cup.php?ac=reg&steg=2&brukernavn=error";
header(sprintf("Location: $insertGoTo"));
} else { // Put into database}
- Next message: steve: "Re: Re: Re: What is so special about PHP?"
- Previous message: codeMonkey: "sqlite OO interface and exceptions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|