Original Post
hi every one
i want to assign java Script variable to php variable
I have used two methods
The first one used
window.location.href = "myfile.php?counter=" +count;
in javascript file
and in myfile.php
i put the header of javascript file and<br>I have in myfile.php form for name and age when I make run myfile.php <br>the page reload many times and I can't stop it and I can't enter the name and age and forced to close the page.<br><br><br>the second one used<br><br>document.getElementById('countV').value=count <br>in javascript<br><br>and in myfile.php I used form<br>and the value of php variable is empty!!!<br><br><br>please I don't have time<br><br>I want answer<br><br>ThankYou<br>
i want to assign java Script variable to php variable
I have used two methods
The first one used
window.location.href = "myfile.php?counter=" +count;
in javascript file
and in myfile.php
i put the header of javascript file and<br>I have in myfile.php form for name and age when I make run myfile.php <br>the page reload many times and I can't stop it and I can't enter the name and age and forced to close the page.<br><br><br>the second one used<br><br>document.getElementById('countV').value=count <br>in javascript<br><br>and in myfile.php I used form<br>and the value of php variable is empty!!!<br><br><br>please I don't have time<br><br>I want answer<br><br>ThankYou<br>