perfect!!! worked just how i wanted it too. now one last thing lol, text wrapping to fit the window or if it's possible, and pre-defined width and i am nearly done Marianela Queme wrote: > hi Mark > > try: > > fwrite($file,"$data\r\n"); > > see if that helps. > > mq >