Gossamer Forum
Home : General : Perl Programming :

Array Split/Multiple Textareas

Quote Reply
Array Split/Multiple Textareas
I've sort of doomed myself here...

I have a form parsing script that separates array data with a comma. In the script I'm running, I have a varied amount of textareas (depending on how many things the users want to review), all with the name 'desc.'

When this data gets passed to the parser, the script separates the data in each of the 'desc' textareas with a comma. Problem is, once in a while, I anticipate a user to use a comma in his/her review. This would split one (possibly more) of the responses into another whole array.

I'm just looking for a creative way to keep all that data to itself, without worrying about special characters. The form-parser will always split with a comma, so that is really out of the question.

I have tried to call each 'desc' a different number (i.e. desc[1] desc[2] etc.) but that doesn't work at all.

All I need is a little ingenuity, and for some reason, I don't have any right now.
Subject Author Views Date
Thread Array Split/Multiple Textareas PLB 3813 Jun 28, 2002, 12:04 AM
Thread Re: [PLB] Array Split/Multiple Textareas
Paul 3712 Jun 28, 2002, 2:04 AM
Thread Re: [Paul] Array Split/Multiple Textareas
oldmoney 3713 Jun 28, 2002, 5:25 AM
Post Re: [oldmoney] Array Split/Multiple Textareas
PLB 3698 Jun 28, 2002, 8:20 AM