Facebook
From Sloppy Horse, 6 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 234
  1. <?php
  2.  
  3. $a= $_GET['a'];
  4. $b= $_GET['b'];
  5. $c= $_GET['c'];
  6.  
  7. function ugu($a, $b, $c){
  8.         if (($a > $b) AND ($a > $c)) {
  9.                 echo $a;
  10.         }
  11.         else if (($b > $a) AND ($b > $c)) {
  12.                 echo $b;
  13.         }
  14.         else if(($c > $a) AND ($c > $b)) {
  15.                 echo $c;
  16.         }
  17. }
  18.                
  19.                
  20.        
  21. ugu($a, $b, $c);
  22.  
  23. ?>
  24.  
  25.  
  26. <!DOCTYPE html>
  27. <html>
  28. <head>
  29. <meta charset="utf-8" />
  30. </head>
  31. <body>
  32. <form action="index.php" method="GET">
  33. a  <input type="text" name="a"/><br>
  34. b  <input type="text" name="b"/><br>
  35. c  <input type="text" name="c"/><br>
  36. <input type="submit">
  37. </form>
  38.  
  39.  
  40. </body>
  41.  
  42.  
  43.