Gossamer Forum
Home : Products : DBMan : Customization :

print graphic after 3 recs

Quote Reply
print graphic after 3 recs
Ok the code i'm using is what you gave me which is inserted into the bottom of html_view_succes.
Code:
if($db_total_hits > 3) {
print"<IMG SRC="http://myserver.com/images/graphic1.gif"><IMG SRC="http://myserver.com/images/graphic2.gif" >"; }
if ($db_next_hits) { print "<center><br><$font>Pages: $db_next_hits</font></center>"; }

thanks
bob
Quote Reply
Re: print graphic after 3 recs In reply to
Your code, again, is close. Smile There's a problem with the quotation marks, though. The best way to overcome this problem is as follows:

Code:
if($db_total_hits > 3) {
print qq|<IMG SRC="http://myserver.com/images/graphic1.gif">
<IMG SRC="http://myserver.com/images/graphic2.gif" >|;
}


------------------
JPD