samedi 29 novembre 2014

how can i update parse user table with object id which is not a current user object id


Vote count:

0




How can i update the user table with object id which is not a current user object id. I used following code but not able to update the result.



public function updateAdminComent($status,$comment,$objectID){

$object = new \Parse\ParseObject("_User", $objectID);
$object->set('verifyStatus',$status);
$object->set("comment",strip_tags($comment));
try {
$object->save();
return true;
} catch (ParseException $ex) {
return false;
}
}


asked 49 secs ago







how can i update parse user table with object id which is not a current user object id

Aucun commentaire:

Enregistrer un commentaire