I'm a beginner programmer and i have been trying to solve this problem for 3 days now. I've been trying google and w3 but so far no luck and wanted to my luck here.
I need to get the the ID from a url (www.example.com/index.php?id=name). I've been studying how to do the html method but no luck there as well. The code that my boss gave me is messy and i can't read all of them. I'm sorry for asking you this ind of question and forgive my lack of knowledge. I also need to send it to a database.
The code in progress.
if(attemp>3){
alert("Account has been locked. Maximum (3) attempts reached!");
window.location.href="index.php?id="+u+"&#toregister";