Use Server php values in javascript

DEInc

New Member
This question is because I have some values in a database table that works as parameters, so the approach I think to use them in javascript without using inline scripts was call a \[code\]parameters.php\[/code\] that returns all the values and stores them in javascript \[code\]global\[/code\] variables to use them.I just want to know if this is correct or if there is better way how to do this.
 
Top