php - Making picture a link to -
how can make picture link using coding format?
if($row['name'] !== "") { echo "<br/><img src='../login/image/"; echo $row['name']; echo "' style='width: 300px;height: 400px;'>";
you can this, don't need echo
s.
if($row['name'] !== "") { echo "<br/><a href='link'><img src='../login/image/" . $row['name'] . "' style='width:300px; height:400px;'></a>";
Comments
Post a Comment