image_gallery
<?php
$i=0;
while ($data = mysql_fetch_array($result)){
$result2=($i%2)?'#DFA09D':'white';
echo "<tr bgcolor='$result2'>";
echo '<td>'.$data['image'].'</td>';
echo '<td>'.$data['path'].'</td>';
echo '<td>'.<img src="photos/image".$i>.'</td>';
echo '<td><a href="admin.php?mode=delete&id='.$data['id'].'">Hapus</a> |<a href="input_image.php?id='.$data['id'].'">Edit</a></td>';
echo '</tr>';
$i++;
}
?>
What is this:
Parse error: syntax error, unexpected '<' in C:\xampp\htdocs\Bread\administrator\image_gallery.php on line 153
line: 153 echo '<td>'.<img src="photos/image".$i>.'</td>';