Im trying to rerun an php include after I changed it with js
The php file ist connectiong to an db and only gets the data which is requestet with the get variable in the url
<output id = "ulid">
   <?php include ("http://localhost/Test/testx.php?testget=HRA"); ?>
</output>
And then i change the file with innerHTML from output (after an onchange event from)
    var skala = document.getElementById("skalaRock").value;     
    var y =  '<\?php include ("http:\/\/localhost\/Test\testx.php?skala='+skala+'"); ?>';
    document.getElementById("ulid").innerHTML = y;
The output is '<?php include ("http://localhost/Test/testx.php?skala='+skala+'"); ?>' that is the right file, but how can I get the file to execute? And dont just show the php command?
 
     
     
    