If I have this javascript code:
var name = prompt("What is your name", "Type you name here");
Is there any way that I can use that input in a php script?
Use Javascript input for PHP Script
Moderator: General Moderators
Yes.
Or just put this value to a form field and submit to your script.
Code: Select all
var name = prompt("s...."," ");
window.location = '/path/to/your/script.php?name=' + name;-
[xNet]DrDre
- Forum Newbie
- Posts: 8
- Joined: Wed Oct 01, 2003 7:06 am