I have a poetry site on the internet and, being new at PHP, I was wondering if there is some way that I can program my forms to insert <br> when the user hits the return for a new line and html space code when they hit the space bar.
The <br>'s can be done easily with nl2br() and str_replace() will take care of the spaces, like so...
$newText = str_replace(" "," ",$oldText);
Thank you very much for all of the help, LordShryku.