Ciao, manca qualcosa
Dopo myslq_query dovresti usare alemeno mysql-fetch-array . Segui l'esempio e vedrai che ti tornerà tutto correttamente.