Permalink
Browse files

placed response below input

  • Loading branch information...
franciscof5 committed May 9, 2018
1 parent b972796 commit fd94a6d44356b308c60e55861ceb1bebfb9f911e
Showing with 7 additions and 4 deletions.
  1. +7 −4 index.php
@@ -40,10 +40,7 @@ function verifyBrackets($s) {
return $brackets_ok;
}
$brackets_ok=verifyBrackets($text);
if($brackets_ok)
echo " valid";
else
echo " not valid";
?>
<!DOCTYPE html>
@@ -58,6 +55,12 @@ function verifyBrackets($s) {
<input type="text" name="b1-b">
<input type="submit" name="b1-s" value="verify">
</form>
<?php
if($brackets_ok)
echo $text.": valid";
else
echo $text.": not valid";
?>
<p>Author: Francisco Matelli Matulovic</p>
<p>Released under GNU GPLv3</p>
</body>

0 comments on commit fd94a6d

Please sign in to comment.