estrai i record del database con php e poi stampi la var php come ti ho spiegato