Webbserverprogrammering 1

Show sourcecode

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

webbsrvprg/exercises/

cookie.php
hej.php
hemlig.php
index.php
login.php
logout.php
medelvarde.php
ovn_db1.php
ovn_gr1.php
ovn_gr2.php
ovn_gr3.php
ovn_gr3b.php
ovn_gr4.php
ovn_gr5.php
ovn_gr6.php
ovn_gr7.php
quiz.php
session.php
uppgift.php

ovn_gr3b.php

13 lines ASCII Windows (CRLF)
<?php

$summa 
= 0;
$i = 1;

while (
$i <= 100) {
    
$summa = $summa + $i;
    
$i++;
}

echo 
$summa;

?>