How do I send variables to the server with XMLHTTPRequest? Would I just add them to the end of the URL of the GET request, like ?variable1=?v
XMLHTTPRequest
GET
?variable1=?v
Following is correct way:
xmlhttp.open("GET","getuser.php?fname="+abc ,true);