Ho questo script che non ne vuole sapere di girare dov'è l'errore???
<form action="index.php" method="post">
Giorno : <input type="text" name="giorno" maxlength="2" size=2>
Mese : <input type="text" name="mese" maxlength="2" size=2>
Anno : <input type="text" name="anno" maxlength="2" size=2>
<input type="submit" value="Calcola">
</form>
<?php
if ($giorno && $mese && $anno) {
$calc = ($giorno[0] * $giorno[1]) + ($mese[0] * $mese[1]) + ($anno[0] * $anno[1]);
echo "IL TUO NUMERO FORTUNATO È $calc";
}
grazie per l'aiuto
?>