$mensajes = array();$mensajes[0] = "aaa";$mensajes[1] = "bbbb";$mensajes[2] = "ccccc";$msj = (int) $_GET['1'];echo $mensajes[$msj];