Re: splitting up contents of a test box

From: Date: Fri, 16 Feb 2001 23:01:24 +0000
Subject: Re: splitting up contents of a test box
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-40251@lists.php.net to get a copy of this message
If each of the scrolling lines is separated by something regular, like a carriage return, or a line break, tab (etc), you could use explode(); and have the values returned as an array. James. > I have a form that contains a scrolling text box. When I display the > contents of the text box, say in variable $form[mytextbox], it displays > all on one line (or wraps at end of line). As the ending character of > each line will vary, does anyone know of away to split the lines up so > that I can display the text box contents line by line? > > Thanks, > Don > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#40251) next »