Gossamer Forum
Home : Products : DBMan : Customization :

Adding images per variable Error(s)

Quote Reply
Adding images per variable Error(s)
I've tried the "Adding images per variable (possible 1-10 images)" mod found in the DBMan FAQ. However, I'm getting errors like "out of memory!" (???) and "DBMan encountered an internal error. Please enable debugging to view." Well, enabling debugging doesn't do anything but return the same error. I've tried making sure my print qq| 's and |; 's are in the right places, but am unsure whether or not i've actually got it right. So, I've posted my html.pl file to http://members.xoom.com/SharpMetal/htmlad_pl.txt . The code is, of course, in the html_record subroutine. Could anyone please point out to me any errors and/or omissions.

Quote Reply
Re: Adding images per variable Error(s) In reply to
Your error is the following:

Code:

if ($rec{'none'}) |;
print qq| </TD></TR></TABLE>|;


It should look like the following:

Code:

if ($rec{'none'}) {
print qq|</TD></TR>|;
}
print qq|
</TABLE>
|;


You were missing the closing right bracket and also your closing table anchors were messed up.

Hope this helps.

Regards,

Eliot Lee