Sai come ricevere i dati inviati da un form?
Recupera il dato e poi usi un if/else if/else oppure se hai tanti possibili valori usa switch()