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

Re: [Andy] Valid format for update() with CatLinks.CategoryID ?

Quote Reply
Re: [Andy] Valid format for update() with CatLinks.CategoryID ? In reply to
It's basic Perl really. You're calling $IN->param() in scalar context ($foo = $IN->param('foo')), so it's only returning a single value. Call it in list context and you'll get all values: my @foo = $IN->param('foo'). The other issue you're having is that add/insert/modify/update obviously do not take newline delimited values - pass it an array ref instead.

Adrian
Subject Author Views Date
Thread Valid format for update() with CatLinks.CategoryID ? Andy 3135 May 11, 2008, 4:18 AM
Thread Re: [Andy] Valid format for update() with CatLinks.CategoryID ?
Wychwood 3038 May 11, 2008, 5:16 PM
Thread Re: [Wychwood] Valid format for update() with CatLinks.CategoryID ?
Andy 3032 May 11, 2008, 11:52 PM
Thread Re: [Andy] Valid format for update() with CatLinks.CategoryID ?
Andy 3039 May 12, 2008, 2:27 AM
Thread Re: [Andy] Valid format for update() with CatLinks.CategoryID ?
Wychwood 3028 May 12, 2008, 9:57 AM
Post Re: [Wychwood] Valid format for update() with CatLinks.CategoryID ?
Andy 3027 May 12, 2008, 10:01 AM
Thread Re: [Andy] Valid format for update() with CatLinks.CategoryID ?
brewt 3012 May 12, 2008, 1:32 PM
Post Re: [brewt] Valid format for update() with CatLinks.CategoryID ?
Andy 3001 May 12, 2008, 2:02 PM