By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,961 Members | 1,333 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,961 IT Pros & Developers. It's quick & easy.

MY SQL PHP

P: n/a
i have a multiparagraph statement in a mysql database. its called out
by PHP. if i do not put <br> at the end of each paragraph, the result
is the statement all as one paragraph and when called in a flash movie
it looks correctly. If i put <br> in with the statement it shows
correctly on the static php page but in flash it shows the <br> tag....
the statement is a TEXT Data type.....
does anyone know how to set this up so that it is displayed correctly?

Jul 17 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
On 22 Dec 2004 07:32:05 -0800, "Quinonez" <qu******@gmail.com> wrote:
i have a multiparagraph statement in a mysql database. its called out
by PHP. if i do not put <br> at the end of each paragraph, the result
is the statement all as one paragraph and when called in a flash movie
it looks correctly. If i put <br> in with the statement it shows
correctly on the static php page but in flash it shows the <br> tag....
the statement is a TEXT Data type.....
does anyone know how to set this up so that it is displayed correctly?


For the HTML display, use nl2br() to convert line breaks to <br>.
For whatever Flash uses, juse send the string unmodified.

--
Andy Hassall / <an**@andyh.co.uk> / <http://www.andyh.co.uk>
<http://www.andyhsoftware.co.uk/space> Space: disk usage analysis tool
Jul 17 '05 #2

P: n/a
that was the answer..........AWESOME
thank you.....
i would be SO LOST w. out the groups...

Jul 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.