Le variabili GET e POST:
http://php.html.it/guide/lezione/230...li-get-e-post/

Utilizzare un database MySql:
http://php.html.it/guide/lezione/231...atabase-mysql/