Hello everyone,
I realize this is probably a really easy question but I have never come across it before. See I normally pass values in a form through the URL or just through the "submit" and make the variable Global.
I want to pass the variables using parameters.
eg) studentDetails($studentID)
but how do I do this because I currently have a form which lists all the students in the school. I used "onClick" to assign the studentID (I am not sure if that worked yet) and now that I have the studentID I want to pass it to the studentDetails function. I don't want to put the studentID in the URL for security purposes and I don't want to use GLOBAL $studentID;
Any ideas??
Your help is greatly appreciated. Thanks for your time.