hi guys im having a problem using pdo. I want to send null in db table as null is allowed. i used the condition nullif it adds the value if string is null but wont send value is string is not null. if($_POST["operation"] == "Add") { $statement = $connection->prepare("INSERT INTO teams (First_Name, Last_Name, Password, Team_Lead) VALUES (:First_Name, :Last_Name, :Password, :Team_Lead)"); $result = $statement->execute( array( ':First_Name' => $_POST["First_Name"], ':Last_Name' => $_POST["Last_Name"], ':Password' => $_POST["Password"], ':Team_Lead' => $_POST["NULLIF('Team_Lead',' ')"], ) );