Webbserverprogrammering 1

Show sourcecode

The following files exists in this folder. Click to view.

webbserverprogrammering/exercises/funktioner/

funktioner.php
funktioner2.php
funktioner3.php
funktioner4.php
funktioner5.php
funktioner6.php
funktioner7.php
funktioner8.php
funktioner9.php

funktioner3.php

26 lines UTF-8 Windows (CRLF)
<!DOCTYPE html>
<html lang="en">
<head>
 <meta charset="utf-8">
 <meta name="viewport" content="width=device-width, initial-scale=1">
 <title>Funktioner 3</title>
</head>
<body>
<?php
 
function skrivUt($a$b$c){
  if (
$a $b && $a $c) {
   return 
$a;
  }
  if (
$b $a && $b $c) {
   return 
$b;
  }
  if (
$c $b && $c $a) {
   return 
$c;
  }
  
 }
 
$störst skrivUt(536);
 echo 
$störst;
?>
</body>
</html>