On Wed, 26 Jan 2005 22:23:42 -0000, John Hughes <[EMAIL PROTECTED]> wrote: > Hmm, > > How are the poems being stored? Is it directly in a html file or can they be > processed before being diplayed? If you could do some processing on the file > then perhaps you could write a script to replace all the new lines with > <br/>
With php, if your poem is stored in a text field in say, MySQL, you can automagically make the \r\n breaks output as html with nl2br transforming them to <br /> : echo nl2br("some string in the db"); -- cheers, Mark MG Web Services www.mgwebservices.ca Your Canadian West Coast web site development and hosting solution. ____ • The WDVL Discussion List from WDVL.COM • ____ To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or use the web interface http://e-newsletters.internet.com/discussionlists.html/ Send Your Posts To: wdvltalk@lists.wdvl.com To change subscription settings, add a password or view the web interface: http://intm-dl.sparklist.com/read/?forum=wdvltalk ________________ http://www.wdvl.com _______________________ You are currently subscribed to wdvltalk as: archive@jab.org To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.