Am trying to get an image in the same page from this link by using the 2 paramters(porto_ID,porto_details)but it didnt work
how can i make it work??
<a href="portofolio.php?porto_ID=<?php echo $row_Recordset2['porto_ID'];?> porto_details=<?php echo $row_Recordset2['porto_details']; ?>">
<IMG src="Admin/<?php echo $row_Recordset2['porto_details_img']; ?>" alt="Image 1-1" width="58" height="54" border=0 class=image-border >
</a>
this is the picture i want:
<?php
if(isset($porto_ID ,$porto_details)){
mysql_select_db($database_epic, $epic);
$query_three = "SELECT * FROM porto_details where porto_ID='".$porto_ID."'
and porto_details='".$porto_details."'";
$three = mysql_query($query_three, $epic) or die(mysql_error());
$row_three = mysql_fetch_assoc($three);
$totalRows_three = mysql_num_rows($three);
do{
?>
<IMG alt="Click thumbnails to view closeups"
src="Admin/<?php echo $row_three['porto_details_img']; ?>" border=0>
<?php }while($row_three = mysql_fetch_assoc($three)) ?>
<?php }?>