When I write an if statement, I have it check a variable like so:
if(isset($_GET['username']){
echo "set";
} else {
echo "unset";
}
How could I get my if statement to check if two variables are set similiar to this:
if(isset($_GET['username'] & $_GET['firstname'])){
echo "set";
} else {
echo "unset";
}
So basically how do I check two things in an if statement at once?