Ma il problema è che non sai estrarre i dati dal database? Che db usi?

Ciao