Hi,
I've got a copy of dbman set up as follows, it's kind of a dictionary thing:
ID,word,plural,synonym,meaning
What I'd like to do here, is in html_record_long that in the 'meaning' field of each record, 'word' 'plural' and 'synonym' are checked of all the (other?) records and if found in it, a link is built to the related records.
I have no problem pattern matching (anymore...) but I'm not sure how to make this work, putting all the words of 3 fields of more or less 300 records in a hash? I guess it's best to start with field 'word' in a hash, check it, followed by the other fields but I might be talking utter nonsense. But I'd need code to look at as I'm not very good yet.
Has anybody ever done this or is there somebody who can give me useful tips?
Thanks,
Lex
I've got a copy of dbman set up as follows, it's kind of a dictionary thing:
ID,word,plural,synonym,meaning
What I'd like to do here, is in html_record_long that in the 'meaning' field of each record, 'word' 'plural' and 'synonym' are checked of all the (other?) records and if found in it, a link is built to the related records.
I have no problem pattern matching (anymore...) but I'm not sure how to make this work, putting all the words of 3 fields of more or less 300 records in a hash? I guess it's best to start with field 'word' in a hash, check it, followed by the other fields but I might be talking utter nonsense. But I'd need code to look at as I'm not very good yet.
Has anybody ever done this or is there somebody who can give me useful tips?
Thanks,
Lex


