Re: Read values from Text Area Box

From: Date: Sun, 27 Jul 2003 06:55:14 +0000
Subject: Re: Read values from Text Area Box
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-157051@lists.php.net to get a copy of this message
Hi, Sunday, July 27, 2003, 3:04:56 PM, you wrote: K2> Hi, there. K2> I'm trying to find out how to get multiple values from text area box K2> <textarea></textarea>. K2> Values are like this. K2> aaa\n K2> bbb\n K2> ccc\n K2> ddd\n K2> eee\n K2> I need to take "\n" from each value and put all the values to array. K2> Please advise me if anyone knows about this. K2> Sincerely, K2> KEN You could try $array = explode("\n",$textareastring); -- regards, Tom

« previous php.general (#157051) next »