Richard Baskett wrote: > It has to do with the $name variable, if you've fixed the code to check > for equality instead of setting the variable: > > if ($name=='admin') { > > Echo $name and make sure that it is actually getting set..
Yes. > Also make sure your header information is before html.. There isn't any html in the page at all. It's intended as a switchboard for people logging in to be redirected according to user name. >let's see.. yeah > that's about all I can think of.. if $name is echoing something then I > have no clue why it's not working :( Martin S -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]