<?=(($Variabile=="valore") ? "Testo1DaRilasciare" : "Testo2DaRilasciare")?>

prova un po'.