What is wrong with this
Code: Select all
echo '<br/><br/> <img src="images/rooms/$row[ImageUrl]" border=0>';//I want to display the imageurl but the url is wrong
Moderator: General Moderators
Code: Select all
echo '<br/><br/> <img src="images/rooms/$row[ImageUrl]" border=0>';//I want to display the imageurl but the url is wrong
Code: Select all
<?php
echo "<br/><br/> <img src=\"images/rooms/".$row[ImageUrl]."\" border=0>";
?>
Code: Select all
<?php
// some php code here
?>
<br/><br/>
<img src="images/rooms/<?php echo $row[ImageUrl]; ?>" border=0>