1

You're checking isset( $_POST['SUBMIT'] ), but there's no field with that name. If you mean to be checking the submit button, you need to give it a name attribute with the right value: <input type='submit' name='SUBMIT' value='SUBMIT'> Now isset( $_POST['SUBMIT'] will be true, and your code will run. Also, you don't seem to be using $wpdb->prefix ...


Only top voted, non community-wiki answers of a minimum length are eligible