$header_id = $dbh->prepare("SELECT id FROM press_releases WHERE header = '$header'"); $header_id -> execute();