
Untitled
By: a guest on
Dec 29th, 2012 | syntax:
PHP | size: 0.25 KB | hits: 54 | expires: Never
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'
}