I think you showed how to put php value into javascript not javascript into php. Do you have any idea how to do second one? For example: <script>var js = 'js';</script><?php $var = js ?> ?? Thanks in advance. Log in to Reply
I am facing a problem while transferring values of variables from a javascript file to a php file. Can you help me in that? Log in to Reply
9 responses to “javascript value into php”
Useless
NOT JS TO PHP
lol thats easy but thats the wrong way… the other way is hard…
bad, very bad
This is php variable into js, not the way stated in the title.
You are very very great coder
I think you showed how to put php value into javascript not javascript into php. Do you have any idea how to do second one?
For example:
<script>
var js = 'js';
</script>
<?php $var = js ?>
?? Thanks in advance.
could you make me clear which error you got.if possible attach particular file
I am facing a problem while transferring values of variables from a javascript file to a php file. Can you help me in that?