• Hi Guys

    I am working on a plugin form. The problem is it does not set when the user submits it. Code below:

    <?php
    	if(isset($POST['course_form']))
    	{
                 echo "form set";
            } else {
                 echo "form not set";
            }
    ?>
    
    <form name="new_course_form" method="POST" action="https://localhost/wordpress/wp-admin/admin.php?page=mt-top-level-handle">
    	<input type="hidden" name="course_form" id="course_form" />
            <input type="text" class="txtbox" name="course_title" id="course_title" />
            <input id="publish" class="button-primary" type="submit" value="Publish Course" name="publish"/>
    <
    </form>
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Form not processing’ is closed to new replies.