Gossamer Forum
Home : Products : DBMan : Discussions :

Re: [samurai-lupin] Strange Problem with default.db file

Quote Reply
Re: [samurai-lupin] Strange Problem with default.db file In reply to
In sub html_record, instead of

Code:
$file_test = $rec{$db_key} . ".";
foreach $file (@files) {
if ($file =~ /^$file_test/) {



Try

Code:
foreach $file (@files) {
if ((lc($file) eq ($rec{$db_key}. ".gif")) || (lc($file) eq ($rec{$db_key}. ".jpg"))) {


Technically, the original code should work, but it doesn't seem to be working for you, so this is plan B.


No, the Image Dimensions thing didn't work and I couldn't make it work. Maybe I can see about doing it again, but not right now.

I still have my Amiga. It hasn't been turned on in more than five years, but I still have it. I have hopes of someday being able to use it again. :-)


JPD
----------------------------------------------------
JPDeni's DBMan-ual
How to ask questions the smart way.
Subject Author Views Date
Thread Strange Problem with default.db file samurai-lupin 12500 Jun 22, 2006, 2:57 AM
Thread Re: [samurai-lupin] Strange Problem with default.db file
JPDeni 12300 Jun 22, 2006, 8:23 AM
Thread Re: [JPDeni] Strange Problem with default.db file
samurai-lupin 12330 Jun 22, 2006, 12:45 PM
Thread Re: [samurai-lupin] Strange Problem with default.db file
JPDeni 12279 Jun 22, 2006, 1:05 PM
Thread Re: [JPDeni] Strange Problem with default.db file
samurai-lupin 12279 Jun 22, 2006, 3:55 PM
Thread Re: [samurai-lupin] Strange Problem with default.db file
JPDeni 12267 Jun 23, 2006, 6:47 AM
Thread Re: [JPDeni] Strange Problem with default.db file
samurai-lupin 12262 Jun 23, 2006, 7:50 PM
Post Re: [samurai-lupin] Strange Problem with default.db file
JPDeni 12238 Jun 24, 2006, 6:00 AM
Post Re: [samurai-lupin] Strange Problem with default.db file
LoisC 12238 Jun 24, 2006, 8:41 AM