Condition else
Posté : 11 avr. 2006, 16:15
Bonjour,
Quand je met que la condition if cela marche mais quand je met la condition else cela ne marche pas.
D'où cela peut il venir.
Merci pour votre aide
Quand je met que la condition if cela marche mais quand je met la condition else cela ne marche pas.
D'où cela peut il venir.
Merci pour votre aide
<?php
list($width, $height, $type, $attr) = getimagesize("Photos/{$data['Ref_Image']}");
if ($width > $height);
{
echo "<a href=photos_vue.php?Pos={$data['Id']}><img src=Photos/{$data['Ref_Image']} center width=150 height=100>";
}
else
{
echo "<a href=photos_vue.php?Pos={$data['Id']}><img src=Photos/{$data['Ref_Image']} center width=100 height=150>";
}
?>