hi,
I did try with echo but it's same doesn't get the image. please check the code below.
<?php
include "dbconnect.php";
$link=dbconnect();
$pid=$_GET['pid'];
$link1=("./admin/images/".$pid."/h66.jpg");
$link2=("./admin/images/".$pid."/h6.jpg");
<a href= <?php echo $link1 ?> class = 'cloud-zoom' id='zoom1'
rel="adjustX: 20, adjustY:-5, tint:'#FFFFFF', tintOpacity: 0.4">
<img src=<?php echo $link2 ?> alt='' title="Optional title display" />
</a>
with this code image doesn't load. if I put your mouse on the broken link i see admin/images/1861 but dont see the image name. here 1861 is the $pid im getting from user. any one can tell me where is the problem please.