Good Morning
I have in a page a .php a select with data coming from the database, where I bring the name and its id that will be the value, as I do for the graph get the id of the selected option and generate the graph, therefore, first and made the Javada from the script and after php I was doing nothing.
THESE ARE THE FILES, I HAVE THE SELECT ON THE MAIN PAGE, ENTEO CHOOSE THE SUBJECT, TO THE FILE THAT MAKES THE SELECT STICK ID OF THAT SUBJECT AND PLAY IN CONDICTION WHERE.