Whats wrong with this statement
<?php
if ($row_DetailRS1['isVideo'] == 1)
{
echo '<div id="video_player"></div>';
}
else
{
echo '<div class="large-img">
<img src="images/portfolio/<?php echo $row_DetailRS1["image-lg"]; ?>" width="936" alt="" />
</div>';
}
?>
The output of <?php echo $row_DetailRS1["image-lg"]; ?> on the page looks like this:
" width="936" alt="" />
I cannot see where the issue is. If I take that EXACT code and place it outside the if statement, it works perfect.
Everything works as intended except that line... ugh.
thanks.