:32 AM
To: PHP List
Subject: [PHP] "Trim" an array?
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 submitted as a
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 fi
On 2/2/01 5:34 PM this was written:
> while(list($key,$value)=each($array)){
> if(empty($value)) unset $array[$key];
> }
Sweet! Thanks, that was easy.
--
Thomas Deliduka
IT Manager
-
New Eve Media
The Solution To Your Internet Angst
http://www.neweve.com/
--
PH
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 submitted as an array so that I
can simply step through each value and create t
4 matches
Mail list logo