got it! i had to have my block of code look like this:
if ( $file = file ( $filename ) ) {
foreach ( $file as $line ) {
if ( $line != "" ) {
$line = trim($line);
echo ( $line . "@mdah.state.ms.us" );
echo "\n";
}
}
} else {
echo ( "Couldn't open $filename" );
}
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

