salve, si può fare una cosa del genere?


if ($var == "valore"){
apriPagina("1.html");
apriPagina("2.html");
}