IEnumerator q_HighestRating(string link, string username, int userID, int testID) { string phpLink = link + "/game_client/highest_score.php"; // set highest rating for post test and pre test with username and test id from credentials[1] WWWForm wwwForm = new WWWForm(); wwwForm.AddField("username", username); wwwForm.AddField("userID", userID); wwwForm.AddField("test_ID", testID); WWW www = new WWW(phpLink, wwwForm); yield return(www); stringData = www.text; // fetch values for control references pre_playCount = int.Parse(loginModule.CredentialSeperator(stringData, "TestPlayCount=")); //assign values for operations txtPreTestRate.text = loginModule.CredentialSeperator(stringData, "Rate_PreTest="); txtPostTestRate.text = loginModule.CredentialSeperator(stringData, "Rate_PostTest="); panelContent_unlocker(pre_playCount); }