Tasnim
Tasnim

Reputation: 1

why php code is not working inside the img tag?

<img class="image" src="./uploads/<?php echo $row['image_url']; ?>" width="300px" height="280px" alt="Movie poster"> 

in this img tag the php code is not working. Hence it is unable to generate the image url from database and as a result cannot display the image. So it is just showing the alter message.

please solve this problem

I want to show the image in my webpage

Upvotes: 0

Views: 39

Answers (0)

Related Questions