Menu
Hello!
in an external php/form page
i am asking users to to answer a question
after they fill it in
and click on ‘submit’
they are directed to a WordPress page
can I save this code (the form’s input) on a WordPress page ?
<?php
$results = ‘result.txt’;
$fp = fopen($results, “a”);
$QA = $_POST[‘QA’];
$space = “/”;
fputs($fp,”n”);
fputs($fp, $QA);
fputs($fp, $space);
fclose($fp);
?>