Above all, I thank you for yours answer.
To be as explicit as possible, I will detail the method script I utilsé as an image to see it clearer.
To begin, I want to send the result of my variant "$ score" generated from the HTML file directly to my PHP "controllers" linked file.
Then I want to insert this variant in the sql table plugin.
Here are details of the simplified script used:
key plugin: mygame
bol/mygame.php :
bol/mygame_dao.php :
bol/service.php :
controllers/mygame.php :
views/controllers/mygame_index.html :
I will greatly appreciate it if you take the time to help me.