Ciao a tutti,
come posso fare per usare un if all'interno di una stringa ?
Esempio:


$str = "testo testo testo <?php if .... echo "pippo" else echo "pasticcio"> testo testo testo"

Grazie