Webbserverprogrammering 1

Show sourcecode

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

webbsrvprg/exercises/form/

egetformular/
form.html
form1.php
form2.php
form3.php
form4.php
form5.php
form6.php
form7.php
ovn_form1.php
ovn_form2.php
ovn_form3.php
ovn_form4.php
ovn_form5.php
ovn_form6.php
ovn_form7.php
ovn_form8.php

form7.php

14 lines ASCII Windows (CRLF)
<!DOCTYPE html>
<html lang="en">
<body>
  
<?php 
 $num1 
$_POST["name1"];
 
$num2 $_POST["name2"];
 
$num3 $_POST["name3"];
 
$average = ($num1 $num2 $num3) / 3;
 echo 
$average;
?>  

</body>
</html>