im trying (being the keyword) to write to a file and then display the file in a frame on a html page. using a php file to proccess the data input and send it to the file. the problem im having is unless the user hits enter to make a new line in the input form all the input text is on one long line meaning horizontal scroll bars and its just plain annoying. what i want to do is to add a script that will count a certain amount of characters and then put "<BR>" (because the file it gets written to is .htm) so that the output text has a new line where the frame ends and there are no horizontal scroll bars. ive tried everything i can think of in the htm file and its not working so now im turning to the php file. any ideas? im only jus starting with php so i know i sound stupid but nothing too complicated please! 🙂
[man]wordwrap[/man]
see... this is why i love php. in asp, i would have had to make that myself.
theres so many functions built into php!!!