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.
Jul 19, 2000, 10:35 PM
Veteran (17240 posts)
Jul 19, 2000, 10:35 PM
Post #2 of 2
Views: 864
Your error is the following:
if ($rec{'none'}) |;
print qq| </TD></TR></TABLE>|;
It should look like the following:
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
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