Someone
public text v1 · immutable if(isset($_POST['name']) && trim($_POST['name']) != "" ) {
$valid = $this->checkEntry();
if( $valid === false ) {
$this->addEntry();
header("Location: guest.php");
} else {
header("Location: badwords.php");
}
}