RE: Remove newlines from field

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At 07:17 PM 3/20/2006, Miles Thompson wrote:
<tops snipped>



Forgot to add that the writers work in WP 5.2 for Windows, because it has an excellent indexing function which enables them to locate back stories v. quickly.

That text is cut and pasted into an HTML textarea, which is saved to a MySQL database. nl2br() is also applied to the text before saving. The idea is to get straight HTML into the database.

For display the text is fetched, stripslash()'d and fed as an XML stream to an HTMLText control in a Flash movie.

Quirks in how the movie displayed the text, resulted in some of the constructs that had to be detected and removed. Same thing, occasionally, in the textarea.

So this may not be the ideal solution, but it works for us.

Cheers - Miles

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.1.385 / Virus Database: 268.2.5/284 - Release Date: 3/17/2006

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux