Working with post values in the admin panel
I solved it this way <form name=”input” action=”<?php echo get_bloginfo( ‘template_directory’ ).”https://wordpress.stackexchange.com/”.’post_options_from_form.php’; ?>” method=”post”> although i wanted post_options_from_form.php to be an admin page. Edit: This finally worked as i was able to post to the admin page i created <form name=”input” action=”admin.php?page=admin_page” method=”post”> On the function, function admin_page() { require(‘post_options_from_form.php’); }