how can i show "prijs" with the number behind it, and leave the rest out. I tried to do this for an experimental school project. It should display:
prijs: 19.99
prijs: 22.5
prijs: 25.5
<?php
function prijsLijst($titel, $auteur, $genre, $prijs) {
echo "$prijs de prijs.<br>";
}
$boeken = array (
array("titel"=> "Stoner", "auteur" => "John Williams",
"genre" => "fictie", "prijs" => 19.99),
array("titel"=> "Stoner", "auteur" => "John Williams",
"genre" => "fictie", "prijs" => 22.50),
array("titel"=> "Stoner", "auteur" => "John Williams",
"genre" => "fictie", "prijs" => 25.50)
);
?>