The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.
I have put a "Guestbook" on my site which appends to a php file using a Perl script.
The problem that I am having is that when a user enters text and puts in a paragraph, the carriage return is ignored when it is written to the file.
Obviously, this is a basic guestbook so all I want to be able to do is put in a little bit of code that substitutes all the carriage returns with a "
" tag.
I want to be able to search through all the array looking for the carriage returns which are ASCII 13, I think.....
Can anyone give me any clues?
Hope this makes sense! ;-)
"/g;
I have put a "Guestbook" on my site which appends to a php file using a Perl script.
The problem that I am having is that when a user enters text and puts in a paragraph, the carriage return is ignored when it is written to the file.
Obviously, this is a basic guestbook so all I want to be able to do is put in a little bit of code that substitutes all the carriage returns with a "
" tag.
I want to be able to search through all the array looking for the carriage returns which are ASCII 13, I think.....
Can anyone give me any clues?
Hope this makes sense! ;-)