i have done the query for the select but i do not know how to use the right join for the query update. i have this code right now, but it is wrong.
$sql = "UPDATE person SET ExamineeID = '$_POST[ExamineeID]', FirstName = '$_POST[FirstName]', MiddleName = '$_POST[MiddleName]', LastName = '$_POST[LastName]', Age = '$_POST[Age]', HomeAddress = '$_POST[HomeAddress]', ContactNumber = '$_POST[ContactNumber]', LastSchoolAttended = '$_POST[LastSchoolAttended]', Strand = '$_POST[Strand]', SchoolAddress = '$_POST[SchoolAddress]', Adviser = '$_POST[Adviser]', Honor1 = '$_POST[Honor1]', Honor2 = '$_POST[Honor2]', Honor3 = '$_POST[Honor3]', Honor4 = '$_POST[Honor4]', Father = '$_POST[Father]', EducationalFather = '$_POST[EducationalFather]', Mother = '$_POST[Mother]', EducationalMother = '$_POST[EducationalMother]', Guardian = '$_POST[Guardian]', Occupation = '$_POST[Occupation]', Score = '$_POST[Score]' , Rank = '$_POST[Rank]', ExamTime = '$_POST[ExamTime]' WHERE ExamineeID = $_POST[ExamineeID]'";`
i do not know how to insert the right join and the right syntax but i just post the code here. i want to connect the personal and the score. the start of the score is, score.Score, to score.ExamTime.