Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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'
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement