0

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

2
Contributors
1
Reply
2
Views
12 Years
Discussion Span
Last Post by william_stam
0

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)

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.