good call on the one line bug. since i have nothing to do on a friday night i fixed it for you all and cleaned up the code a bit.
quick summary:
if an entry had a newline it it it would be saved to the text file correctly but because it reads in messages to display one line at a time it would not display the other lines. to fix this i first tried the function nl2br which added br's in the right place but didnt remove the nl's... so i ended up using the function str_replace("\n", "", $message) to replace all nl's with '' ( i dont want multiple lines on my site). you could use this if you do want multiple lines: str_replace("\n", "<br>", $message)
again the source can be found at this page: http://club494.dormroad.com/board.php3 by scrolling to the bottom and selecting 'guest book code'
you can use this code, just tell me if you do.
-paul