How do I get a link to open in the window parent to the IFRAME?
The area of code I am concerned with is
PHP Code:
// PHP Loop for each pic
while($row=mysql_fetch_assoc($getpics)){
print "<td align='center'><a href='gallery/viewpic.php?pic_id=" .$row['pic_id'] . "' title='" .$row
['pic_title'] ."'><br /><img src='gallery/pic.php?mode=small&pic_id=".$row['pic_id']."' alt='" .$row
['pic_title'] ."' title='" .$row['pic_title'] ."' /></a><br /><div style='width:150px;'><b>" .$row['pic_title']
."</b><br />Posted By: ".$row['pic_username']."</div></td>";
}
Specifically
PHP Code:
<a href='gallery/viewpic.php?pic_id=" .$row['pic_id'] . "' title='" .$row
['pic_title'] ."'>
and how to make it open in the _parent window
I'm not sure how to code target in PHP
The site is pareonline.com and the code I am trying to make work is in the Random gallery Images box.
It is a IFRAME nested in the block.
Last edited by cdelicath; 01-07-2009 at 11:10 AM..
Reason: solved
|