realtional table getting all mixed up
Am trying to display content from a relational db - http://prntscr.com/o73kmo - but am getting all mixed up
So basically am wanting to add any result that from the service_contents table to display on the attached page where the StaffID matches the main page rs $Expertise->bindParam("i", "".($PageContents->getColumnVal('StaffID')) ."", "-1"); //colname
Am not sure if I am explaining it right but am very confused....
EDIT after a night sleeping on it, have managed see my way through the fog and got it sorted