Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Jan 2004
    Location
    Portugal
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Problem with <p> in flash

    Hey guys..
    When displaying records of db in flash, empty lines appear (<p>) in text, because in admin page, client entered text pressing 'enter' several times to do linebreaks...
    how do i replace them to only do <BR> instead?

    Thx

  • #2
    Supreme Overlord Spookster's Avatar
    Join Date
    May 2002
    Location
    Marion, IA USA
    Posts
    6,280
    Thanks
    4
    Thanked 83 Times in 82 Posts
    What does this have to do with PHP?
    Spookster
    CodingForums Supreme Overlord
    All Hail Spookster

  • #3
    New to the CF scene
    Join Date
    Jan 2004
    Location
    Portugal
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    sorry, didnt explain...
    the admin page is PHP wich stores text to a MySQL database...
    Then i have another PHP script wich retrieves that text and puts it into a variable wich flash can read.

    What i need is PHP to change <p> with <BR> in that given sting...
    Maybe PHP can detect paragraphs and replace them with a break tab?

    Im kinda newby and Portuguese lol... sry


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •