il primo script per introdurre il php
<?php
/*
Questo ad esempio è un commento
su più linee.
*/
// questo è un commento su singola riga
# questo è un altro tipo di commento
$nome = "Alessandro";
echo "Il mio nome è " . $nome;
function stampa_nome($nome) {
echo "<strong>Ciao " . $nome . "</strong>";
}
stampa_nome($nome);
?>