Problem in getting values of a text area by row and column wise

Reply

Join Date: May 2005
Posts: 4
Reputation: nishithraj is an unknown quantity at this point 
Solved Threads: 1
nishithraj nishithraj is offline Offline
Newbie Poster

Problem in getting values of a text area by row and column wise

 
0
  #1
May 7th, 2005
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
Reply With Quote Quick reply to this message  
Join Date: Mar 2005
Posts: 131
Reputation: william_stam is an unknown quantity at this point 
Solved Threads: 2
william_stam's Avatar
william_stam william_stam is offline Offline
Junior Poster

Re: Problem in getting values of a text area by row and column wise

 
0
  #2
May 26th, 2005
Originally Posted by nishithraj
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)
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC