avevo dedotto.. ajax lo so usare e il database l'ho creato su phpMyAdmin con una tabella preferiti che unisce utente e id articolo.