Hello ,
i am facing issue in js and php, please help me,
i have create one php file and put the
<script>ex.ui{"name": "<?php echo for ( esc_attr ( get_option ( 'sclm ) ) ); ?>",}</script>
like above script.
But i want to put that script in js file. but when i am use that script in js file, then that php code creating problem. so how to get solve that issue.
I want that script in js, and that php code will be fetch the value in js. so please help me about that.
Thanks