android - PHP GCM Undefined Index -
on execution of function, error appears: [23-apr-2015 01:08:39 europe/berlin] php notice: undefined index: syncnewdata in c:\xampp\index.php on line 972 for line: $pushmessagetag = isset($_post["syncnewdata"]) ? $_post["syncnewdata"] : $_post["syncnewdata"]; in function: function updatedatagcm($db) { // gcm regids new, "unseen" data: $sqlallregids = 'select distinct gcm_registration_id users id in ( select distinct myid usersid group_messages `read` = 1 union select distinct touid usersid messages `read` = 1 union select distinct invited_id usersid event_invites `status` = 1 union select distinct receiver_id usersid group_invites `status` = 1 union select distinct requestid usersid friends `status...