View Single Post
  #2 (permalink)  
Old 08-11-03, 07:06 AM
kickinhard007's Avatar
kickinhard007 kickinhard007 is offline
Newbie Coder
 
Join Date: Aug 2003
Location: Manchester, UK
Posts: 65
Thanks: 0
Thanked 0 Times in 0 Posts
i wouldn't use...
if ($username == "") {
header ("Location: index.html");
}
if ($password == "") {
header ("Location: index.html");
}

do it another way, like...

if ($username == "" & $password =="") {
header ("Location: index.html");
}
Reply With Quote