Codice PHP:
$type "new"; if(($type !== "new" && $type !== "update") || $type === NULL) {      print "diverso Specificare una tipologia di inserimento"; } 
Così dovrebbe andare...