Hello friends

First of all wishes to all the Members,am the new entry to this site.

I hv a problem with the passing values of a text area.
Let us suppose that we have a text area with some rows and coumns
<form method=post action="submit.asp">
<TEXTAREA id=TEXTAREA1 name=TEXTAREA1 rows="6" cols="10">
numbers peson
98422100 jakson
98422222 George
</TEXTAREA>
</form>
I would like to get the form and split all the rows and store only the names in database

I need the help
nishith raj

Hello friends

First of all wishes to all the Members,am the new entry to this site.

I hv a problem with the passing values of a text area.
Let us suppose that we have a text area with some rows and coumns
<form method=post action="submit.asp">
<TEXTAREA id=TEXTAREA1 name=TEXTAREA1 rows="6" cols="10">
numbers peson
98422100 jakson
98422222 George
</TEXTAREA>
</form>
I would like to get the form and split all the rows and store only the names in database

I need the help
nishith raj

text areas generate a /n or /t on new line (i cant remember the exact one) so i suppose you could write a split at /n and a write loop. as to the numbers if they are the same amount of characters use
right(line,len(line)-the characters_of the numbers)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.