Verification Box
Posted: Tue Apr 20, 2004 11:52 pm
Hi,
I am interested in making a page where it has a text box and a Submit button. And if the ext that is entered is correct, it redirects to another page. If it is wrong, it redirects to an error page.
I have this code so far:
Can you please help me out?
Thanks, th3gh05t
I am interested in making a page where it has a text box and a Submit button. And if the ext that is entered is correct, it redirects to another page. If it is wrong, it redirects to an error page.
I have this code so far:
Code: Select all
<?
if ($question)
{
if ($question=='DevsDancin, devsdancin, ladybug070, Ladybug070')
{
header("Location: fullurlofpage")
}
else
{
header("Location: fullurlofwrongpage");
}
}
?>Thanks, th3gh05t