Show sourcecode

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

webbsrvprg1/exercises/ovning3/uppgift2/sidor/

sida1.php
sida2.php
sida3.php

sida2.php

23 lines UTF-8 Unix (LF)
<?php $sidnum = 2; ?>
<?php 
include "../incl/sidstart.php"?>

<head>
    <?php echo "<title>Sida $sidnum</title>" ?>
</head>

<p>
    Lite text på sida <?php echo $sidnum ?>
</p>

<br>

<p>
    Övning 3, 6-siffrigt slumptal:
    <?php 
        
include "../../uppgift3/index.php";
        echo 
randomNum();    
    
?>

<p>

<?php include "../incl/sidslut.php"?>