Title: Send data using post to custom plugin file
Last modified: August 31, 2016

---

# Send data using post to custom plugin file

 *  [raduconstantin](https://wordpress.org/support/users/raduconstantin-1/)
 * (@raduconstantin-1)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/send-data-using-post-to-custom-plugin-file/)
 * Hi,
    I’m writting a plugin to extend my wp site. The basic idea is to create 
   a table in the database to store informations about about target audience. The
   plugin creates a table on plug-in install. Next I added a menu page wich has 
   a form in wich the user can input the person name and some info. The problem 
   is that I don’t know what form action to use. I tried `action='/wp-admin/admin.
   php?page=plugin-opt'` wich is the setting page for my plugin but when I `var_dump(
   $_POST)` I only receive the submit button. Please help me understanding how to
   receive input from back-end form and insert it into the db.
 * Thank you

The topic ‘Send data using post to custom plugin file’ is closed to new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [raduconstantin](https://wordpress.org/support/users/raduconstantin-1/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/send-data-using-post-to-custom-plugin-file/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
