filea
.
html
<
form method
=
"POST"
action
=
"fileb.php"
>
<
input type
=
"text"
name
=
"inputFieldName>
<input type="
submit
">
</form>
fileb.php:
if (strpos(
$_POST
['inputFieldName'],'Answer Text')) {
echo 'Answer A';
}
else {
echo 'Answer B'
}