I have an admin page in my plugin that contains a form which is to submit to a custom table created during plugin activation. Here is how I went about it:
The following php and html codes are placed on that plugin page.
<?php //php code to receive form data and submit to table goes here ?> <form method="post" action=""> ..... </form>
It works, but what is a better method of doing this, especially with Ajax.