Send data to MYSQL

you were righr Steve I added a switch and it works, thank you all !