Title: Get from input values
Last modified: August 21, 2016

---

# Get from input values

 *  [mdviky87](https://wordpress.org/support/users/mdviky87/)
 * (@mdviky87)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/get-from-input-values/)
 * I am learning word press. I have 2 questions
 * 1 Question
    How to get my form input values in same page or in another page template
 * `
    <form id="formId" action="" method="post"> <input style="width:88%" type="
   text" name="name"> <input type="submit" name="subs" value="Submit" /> </form>
 * In same fie i put
    ` <?php if( isset($_POST['subs']) ) {
 *  echo $_POST['name'];
    } ?>
 * i also tried $_SERVER[‘PHP_SELF’]; in action but its not dsiaplying.
 * When click submit it refreshed and displays “No Results Found”
 * 2 Question.
 * How to show the submitted values in wp-admin

Viewing 1 replies (of 1 total)

 *  [Mike](https://wordpress.org/support/users/mike_vl/)
 * (@mike_vl)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/get-from-input-values/#post-4028434)
 * I would consider using a [form plugin](http://wordpress.org/plugins/search.php?q=forms)
   to use forms within WordPress.
 * If you want to custom build a form, here’s a tutorial that might help you along:
   [How to create custom forms in WordPress without using plugins?](http://shibulijack.wordpress.com/2012/03/18/create-custom-forms-in-wordpress/)
 * I hope this helps you along!

Viewing 1 replies (of 1 total)

The topic ‘Get from input values’ is closed to new replies.

## Tags

 * [$_REQUEST](https://wordpress.org/support/topic-tag/_request/)
 * [form](https://wordpress.org/support/topic-tag/form/)
 * [retrieve](https://wordpress.org/support/topic-tag/retrieve/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Mike](https://wordpress.org/support/users/mike_vl/)
 * Last activity: [12 years, 9 months ago](https://wordpress.org/support/topic/get-from-input-values/#post-4028434)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
