IsError()) { // Something happened NTFY_AddNotice("Failed to create post! Reason:
" . $result->GetError()); } /*else { // All OK header("Location: ."); exit(); } TODO: redirect to page with new post */ } else { NTFY_AddNotice("You must supply image and tags for post"); } } NTFY_EchoAllNotices(); ?>

New post