please help me to add open new window _blank here is my php code : i want open this image in new window using _blank
Replace this: $imagel.= '<a href="/view.php?id='.$imagehd.'">'.$imgsize[0].'x'.$imgsize[1].'</a> '; Code (markup): With $imagel.= '<a href="/view.php?id='.$imagehd.'" target="_blank">'.$imgsize[0].'x'.$imgsize[1].'</a> '; Code (markup):
To add the | you need to use this: $imagel.= '<a href="/view.php?id='.$imagehd.'" target="_blank">'.$imgsize[0].'x'.$imgsize[1]. '|' .'</a> '; Code (markup): Hope that helps!