Title: Form / Saving User&#8217;s Input
Last modified: August 18, 2016

---

# Form / Saving User’s Input

 *  [gs06](https://wordpress.org/support/users/gs06/)
 * (@gs06)
 * [19 years, 9 months ago](https://wordpress.org/support/topic/form-saving-users-input/)
 * in an external php/form page
    i am asking users to answer a question after they
   answer they click on ‘submit’ and are directed to a WordPress Page
 * how/where can i save users input ?
 * i tried to include the code below in the WordPress Page
    but no luck…
 * Help…
 * Thx, Grace.
    ~~~~~~
 * <?php
 * $results = ‘result.txt’;
    $fp = fopen($results, “a”);
 * $QA = $_POST[‘QA’];
    $space = “/”;
 * fputs($fp,”\n”);
    fputs($fp, $QA); fputs($fp, $space);
 * fclose($fp);
    ?>

The topic ‘Form / Saving User’s Input’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [gs06](https://wordpress.org/support/users/gs06/)
 * Last activity: [19 years, 9 months ago](https://wordpress.org/support/topic/form-saving-users-input/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
