24 lines
707 B
PHP
24 lines
707 B
PHP
|
<h2><?php echo $film -> titre; ?><h2>
|
||
|
<img src="<?php echo $film->urlImage; ?>">
|
||
|
|
||
|
<table>
|
||
|
<?php
|
||
|
echo "<tr><td><b> Année : </b> {$film ->annee}</td></tr>";
|
||
|
echo "<tr><td><b> Réalisateur : </b>{$film ->prenom} {$film ->nom} </td></tr>";
|
||
|
echo "<tr><td><b> Genre : </b> {$film ->genre}</td></tr>";
|
||
|
echo "<tr><td><b> Résumé : </b>{$film ->resume} </td></tr>";
|
||
|
echo "<tr><td><b> Pays : </b> {$film ->codePays}</td></tr>";
|
||
|
echo "<tr><td><b> Casting : </b> <br>";
|
||
|
|
||
|
|
||
|
foreach($actors as $act){
|
||
|
echo "{$act['prenom']} {$act['nom']} as {$act['nomRole']}, <br> ";
|
||
|
}
|
||
|
echo " <a href = '/~ghouar-t/TPCodeIgniter/CI3/'> Retour</a>";
|
||
|
|
||
|
echo "</td></tr>";
|
||
|
?>
|
||
|
|
||
|
</tables>
|
||
|
|