Ad occhio dovresti cambiare
Codice PHP:
echo "<form name=modulo method=post Action=".PHP_SELF.">"
in
Codice PHP:
echo "<form name=\"modulo\" method=\"post\" Action=\"$PHP_SELF\">"