<html>

<head>

</head>

<body>
    <form method="post" action="/admin/posts/new">
        <textarea style="display:none" name="content">
            <?php echo $article['article']?>
        </textarea>
        <input type="hidden" name="postTitle" value="<?php echo addslashes(trim($article['title']))?>">
        <input type="hidden" name="postImage" value="<?php echo addslashes(trim($article['img']))?>">
        <textarea style="display:none" name="postExcerpt">
            <?php echo trim($article['postExcerpt'])?>
        </textarea>
    </form>
    <script>
    document.forms[0].submit();
    </script>
</body>

</html>