I am really new to PHP and I basically want php to get the data from a prompt box. Can someone help me with it? Right now I just have the javascript code:
var name;
var person = prompt ("May I ask your name?");
if (person!=null && person!="") {
name = person;
} else {
name = "Anonymous";
}
The variable 'name' is what I am trying to get in PHP
Thanks!