Re: [PHP] Array Cleansing

2001-03-23 Thread Szii
March 23, 2001 12:07 PM Subject: RE: [PHP] Array Cleansing > > This is the code I'm currently using > > /* testing stuff */ > echo "\n"; > /* end of test */ > > And this is the output I'm getting > >PHP General Mailing Lis

RE: [PHP] Array Cleansing

2001-03-23 Thread Cal Evans
Try: if (!empty($work[$loop])) Cal http://www.calevans.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, March 23, 2001 2:07 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: [PHP] Array Cleansing This is the code I'm curr

RE: [PHP] Array Cleansing

2001-03-23 Thread pkshifted
This is the code I'm currently using /* testing stuff */ echo "\n"; /* end of test */ And this is the output I'm getting

RE: [PHP] Array Cleansing

2001-03-23 Thread Cal Evans
:[EMAIL PROTECTED]] Sent: Friday, March 23, 2001 10:01 AM To: [EMAIL PROTECTED] Subject: [PHP] Array Cleansing Maybe someone could help with this? I'm trying to remove white space values from my array, and resequence them, so that the following: foo[0] = "value", foo[1] = "

[PHP] Array Cleansing

2001-03-23 Thread pkshifted
Maybe someone could help with this? I'm trying to remove white space values from my array, and resequence them, so that the following: foo[0] = "value", foo[1] = " ", foo[2] = "value", foo[3] = " ", foo[4] = "value" after running through a piece of code would turn into foo[0] = "value", foo[1