Hey all im basically a bit lost when it comes to how to do something in PHP.
Im new to php programming and any help would be greatly appreciated:
I have a query that displays a list of courses (In a while loop).. now all these courses belong to say a department, and what I want to do is, make a link; when this department_id is clicked upon, that will open a new window, take the variable (department_id) and display the record for this department - all its details etc..
So you would have
Course ID Course Name Dep ID
Test1 Testing TestDep
----------------
Upon clicking TestDep it would then display the details for 'TestDep' department in a new window or even the same. Just not sure how to go about it, as its very widely used looking at other online databases.
Cheers - oh and if you want my code to help, i'll post it here no worries
Edit - Just to clear it up, these courses may belong to different departments, and the department_id would be pulled out from the query displaying the course data