Ok I have a website Im working on... Now Theres a link call briefcase.php?q=1
The "1" shows which user this advertisment pertains to.
Now when you click the Briefcase link, theres a DIV overlay box... code for that shown below.
$TEMPLATE["PAGES"]["PAGE"] = <<<EOF
<P><A HREF="[PAGE_URL]"><B>[PAGE_TITLE]</B></A><BR>
[PAGE_DESCRIPTION]<BR>
[PAGE_URL]<BR>
<table width=100 border=0>
<tr>
<td><div align=center><a href="[PAGE_COMMENT]" onmouseout="hideTooltip()" onmouseover="showTooltip(event,'View Comments');return false"><IMG BORDER=0 SRC="images/icons/comment.png"></A></div></td>
<td><div align=center><a href="[PAGE_BRIEF]" onmouseout="hideTooltip()" onmouseover="showTooltip(event,'Click to View<br> [PAGE_TITLE] <br>SFB Briefcase');return false" onClick="return overlay(this, 'subcontent2', 'middlebottom')"><IMG BORDER=0 SRC="images/icons/briefcase.png"></A></div>
<DIV id="subcontent2" style="position:absolute; display:none; border: 9px solid black; background-color: lightyellow; width: 468px; height: 250px; padding: 8px">
[PAGE_TITLE] Briefcase<br>
[q]
<div align="right"><a href="#" onClick="overlayclose('subcontent2'); return false">Close Box</a></div>
</DIV>
</td>
</tr>
</table>
EOF;
Now how can I populate this box with ?? I am kinda lost. I want when the briefcase link is clicked, the overlay box pops up and it shows an advertisment. But I can't figure out how to do this.
Appreciate the help...