var a = 123; <-- variable
function abc(param){ <-- parameter
haha = param; <-- variable assignment
print(haha);
}
Ang variable any placeholder/reference ng value or object, while yung parameter is ung data na needed ng function/method.
Don't remove the delete function nung system. Actually yung problem mo is more of a UX problem. Ang iniiwasan lang naman nila is to prevent accidental deletion of a student. To prevent such, this should come as standard na rin, is to give more friction bago maperform yung certain function, like...
Maraming tutorials sa YøùTùbé. Pero isa sa pinakaunderrated na tutorial site siguro yung mismong site ng PHP, yung http://php.net. Super concise ng mga examples na nandun. Matututo ka talaga sa site na yun. Pero kung may specific problems/needs ka sa code tsaka ka manghingi ng help sa SO...
Edi aralin mo kung pano magmanipulate ng DOM (document.getElementById etc.). Standard yun na dapat alam ng bawat developer. Usually yung mga accreditation exams ng Google etc. required ka din na di gumamit ng framework so dapat alam mo yung mga various browsers API. Ok na din atleast magagamit...
Pwede naman yan :) isesetup mo lang na password protected yung directory mo sa Apache. Simpleng directives etc. lang yan. :)
http://httpd.apache.org/docs/current/howto/auth.html