OK, I have tried to fiqure out a way to do this with radio buttons, no luck.
Now I am setting it up with check boxes, I am not sure how to pass on two required variables
in order to make the "lock" work. I can easily make one check box be required to gain access,
however I cannot get two (Multiple) check boxes as in a combination to work?
here is part of the code:
Code: Select all
[size=9]<?php
include("config.php");
$cookuser = $_COOKIE["cookuser"];
//$cookpass = $_COOKIE["cookpass"];
//$adminpass = md5($adminpass);
if($cookuser) {
if(($cookuser == $adminuser) or ($cookuser == $adminuser4)){
echo("<title>BLABLA</title>
unlocked information then is displayed here...[/size]
Basically all this does is make it so my 1st or 4th check box allows users access to the BLABLA information.
How do I go about requiring BOTH 1st AND 4th being required? I have swithched the
or to an
and but that just lets either work....?
Thanks for any guidance... I know I am missing something fairly basic because I am a
worthless script kiddie!
THX1138