Webbserverprogrammering 1

Show sourcecode

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

webbsrvprg/exercises/lekt1/

upg1.php
upg2.php
upg3.php
upg4.php
upg5.php
upg6.php
upg7.php

upg3.php

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

<?php
$tal 
0;
for (
$i=0$i <= 100$i++){
 
$tal += $i;
};
   echo 
$tal;
$sum 0;
$e0;
while (
$e <=100){
 
$sum += $e;
    
$e += 1;
};
echo 
' '.$sum;
?> 

</body>
</html>