Va anche bene che inizi da poco a programmare in php, in ogni caso il manuale è come un vangelo del php... Ci trovi praticamente tutto. In ogni caso...
http://it.php.net/mysql-query
Restituisce TRUE \ FALSE in base al risultato della query ( in caso di aggiunta, rimozione o aggiornamento di dati o campi)
Hai provato a quotare i due metodi? Intendo racchiuderli tra virgolette li dove sono dichiarati nel tag form? Ti ricordo che se le variabili_globali sono disattivate allora la input text con name="indirizzo" si leggerà nella pagina a cui viene inviata a seconda dei due casi come: $_POST['indirizzo'] o $_GET['indirizzo'] Ciao