Probably an uber-newbie mistake. Here's my code:
<html>
<body>
<?php
if(isset($_POST["firstName"] && isset($_POST["lastName"]))){
$firstName = $_POST["firstName"];
$lastName = $_POST["lastName"];
echo $firstName;
}
else {
echo "First name was not written in, you suck!";
}
?>
</body>
I'm getting this error:
Parse error: syntax error, unexpected T_BOOLEAN_AND, expecting ',' or ')' in C:\XAMPP\xampp\htdocs\census.php on line 4
Thanks a bunch!