Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

need some help writing a global for splitting text

Quote Reply
need some help writing a global for splitting text
hi,

i need some help with a global.

for every link i have a column "keywords" where -separeted by commas- is a list of words in.
e.g.: keyword1,keyword2,keyword3,.....

now i need a global that splits the keywordlist so that i can call the keywords one by one.

for example:
<%split_keywords('1')%> should return keyword1
<%split_keywords('2')%> should return keyword2
<%split_keywords('3')%> should return keyword3

can anyone help me with this?

Regards,
Manu

Shopping Portal Shop-Netz.de® | Partnerprogramme | Flugreisen & Billigflüge | KESTERMEDIA e.K. | European Affiliate Marketing Forum.
Subject Author Views Date
Thread need some help writing a global for splitting text ManuGermany 2915 Oct 23, 2006, 2:59 PM
Thread Re: [ManuGermany] need some help writing a global for splitting text
fuzzy logic 2828 Oct 23, 2006, 5:51 PM
Post Re: [fuzzy logic] need some help writing a global for splitting text
ManuGermany 2808 Oct 24, 2006, 1:25 AM