Can anyone help me?! I am trying to code for a simple if statement and it's absolutely not working... what am I doing wrong?!
if($_POST['submitted']){
$name= $_POST['firstname'];
if ($name == "Bob"){
print "Wow, $name is such a cool name!";
} else {
print "Hello $name";
}