/trunk/plugins/viathinksoft/raPages/910_automated_ajax_calls/examples/example_php.phps |
---|
37,12 → 37,8 |
if (isset($json['error'])) { |
die($json['error']."\n"); |
} else if ($json['status'] == 0/*OK*/) { |
} else if ($json['status'] >= 0) { |
die("Insert OK\n"); |
} else if ($json['status'] == 1/*RaNotExisting*/) { |
die("Insert OK\n"); |
} else if ($json['status'] == 2/*RaNotExistingNoInvitation*/) { |
die("Insert OK\n"); |
} else { |
die("Error ".print_r($json,true)."\n"); |
} |