ARRAYS
| From: | King Georgie | Date: | Sun, 29 Oct 2000 19:41:08 +0000 |
| Subject: | ARRAYS | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-22569@lists.php.net to get a copy of this message | ||
hi!
Can any 1 tell me what the PHP equivaelnt of this PERL code is???
These lines of PERL input a files contents into an array, compare each value
in the array to another value, and if they are equal it deletes that array
entry.
How do u do that in PHP??
open (DAT,"<$memberinfo/address.txt");
@database_array = <DAT>;
close(DAT);
** foreach $lines(@database_array) { **
** chomp($lines); **
THANKS
********************
www.LaughingShop.com
_____________________________
Pictures, Videos, Sounds and Files...
All to make you laugh
_____________________________