Webbserverprogrammering 1

Show sourcecode

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

webbsrvprg/exercises/ovning1/

index.html
ovn_gr1.php
ovn_gr2.php
ovn_gr3a.php
ovn_gr3b.php
ovn_gr4.php
ovn_gr5.php
ovn_gr6.php
ovn_gr7.php

ovn_gr3b.php

17 lines ASCII Windows (CRLF)
<!DOCTYPE html>
<html>
<body>

<?php
$summa 
0;
$a 1;
while (
$a <= 100) {
    
$summa += $a;
    
$a++;
};
echo 
$summa;
?> 

</body>
</html>