WOW - that's it... thanks so much - really appreciate your help.

Chris

--- In [email protected], "Silviu Stafie" <[EMAIL PROTECTED]> wrote:
> Try this:
> 
> <?php
>   }
>   else if($name=='user'&&$password=='pass')
>   {
>     // visitor's name and password combination are correct
>     header("Location: attendace.php"); //redirect page
>     exit;
>   }
>   else
>   {
>     // visitor's name and password combination are not correct
>     echo '<h1>Sorry!</h1>';
>     echo 'You are not authorized to view this resource.';
>   }
> ?>
> 
> Silviu
>   





------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a 
href="http://us.ard.yahoo.com/SIG=12h8tf7em/M=362131.6882499.7825260.1510227/D=groups/S=1705375618:TM/Y=YAHOO/EXP=1122750964/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
">Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy</a>.</font>
--------------------------------------------------------------------~-> 

The php_mysql group is dedicated to learn more about the PHP/MySQL web database 
possibilities through group learning.  
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php_mysql/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to