For axample if i would like to use databaseresults in a js, could I use php variables in js code?
Wouldn't js see the variables as php results and not parse them? - Or whatever?
I don't get it... :+
ya its possible to integrate javascript with PHP, but only in one way .
<? $show="rohit" ;?> <script> var k="<?echo($show); ?>" alert(k); <script>
as PHP is server side ,it will return the value to js variable but reverse is not true as