Merge pull request #129 from COMP231-S63G1/searchGroupPHPandSQL

fix bugs of search group php and sql #72 #71