RE: [PHP] Trim an array?

2001-02-03 Thread PHPBeginner.com
a simple snip for($i=0; $isizeof($array); $++) $array[$i]=trim($array[$i]); /snip will do the trick Cheers, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From:

Re: [PHP] Trim an array?

2001-02-02 Thread Mark Maggelet
On Fri, 02 Feb 2001 17:31:43 -0500, Thomas Deliduka ([EMAIL PROTECTED]) wrote: I looked through the archives and couldn't find anything on this. I have a web form which takes 9 values to create a definition for a table that would have up to 9 columns. I made the table so that each form field is