My question is why doesn't the image appear on my php page, i have image url in database under 'imageurl'. I want to echo url to image src and this will show the picture from the folder. The error is Parse error: syntax error, unexpected '<' in .... on line 95. I will put the line 95 in the sample code too.
<html>
   <body>
      <?php while($row = mysql_fetch_assoc($query)): ?>
         <div class="NewsItem">
            <div>
              <h1><?php echo $row['txt']; ?></a> <br>
              <span>posted on <?php echo $row['added']; ?></span><span> by <?php echo $row['adder'];?></span>
             </div>
             <div class="imgdiv"><?php if(($row['imageurl'] == 'NULL') or ($row['imageurl']== '')){
                 //No images
             }
             else{
            Line 95----  <img src="<?php echo $row['imageurl'];?>" width='300' height='300'/>
             }
             ?></div>
             <br>
             <div>
             <form action="comment.php"method="post" name="addComment"><input type="text" placeholder="kommentaar" name="commenttext" maxlenght="100"><input type="submit" name="addComment" value="Lisa kommentaar">
             <input id="prodId3" name="prodId3" type="hidden" value="<?php echo $row['id']; ?>">
             </form>
             </div>
          </div>
      <?php 
      endwhile;
      ?>
 
     
     
    