[eluser]Zack Kitzmiller[/eluser]
I'm not sure what you mean exactly, but if you need to use your PHP retrieved values in a JS script, then you can just do this:
Code:
[script type="text/javascript"]
var 1 = <?= $value['result_1']; ?>;
var 2 = <?= $value['result_2']; ?>;
[/script]
<!-- Static JS Here -->
[script type="text/javascript" src="<?base_url()?>js/script.js][/script]
This will give you access to your php assigned vars inside of your JS code.
(js should be <> not []