puoi fare come vuoi l'importanete è passare la variabile al php