Hugh Danaher wrote:
If you want to preserve the blank spaces then try; str_replace(" ", " ", $contents); // is html for blank space. HTH HTD
no he don't: qote: > read text file to array string -- Smileys rule (cX.x)C --o(^_^o) Dance for me! ^(^_^)o (o^_^)o o(^_^)^ o(^_^o) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php