I'm creating a plugin to show a list over my dvd titles. So far I have made a new table in the database called wp_dvd. So far my plugin can read from the table and give an output to an static page. Demo: http://www.slikjegserdet.net/helge/dvd-liste/
Now I'm extending the plugin so it's a part of my admin area. So far I have made an new meny etc. and a form to register new titles.
Here's my problem:
The form is almoste ok. But I can't get the form / plugin to insert the new title into the database.
I would like to have the code inside the same file. So far I have tried $_SERVER[PHP_SELF] inside the action-tag. I belive this is right. But with no luck.
Anyone who can help me?