Re: saved html in mysql db displays as plain text when retrieved

  •  09-08-2010, 12:30 AM

    Re: saved html in mysql db displays as plain text when retrieved

    I do see now that in looking at the actual data in mysql that almost all my previous notes were stored as plain text. (They were exported
    from another old windows-based note program into my current php db - I'm trying to put these notes online.)
     
    The few old notes that are stored as html also display that html (same problem as data retrieved from a note created in CuteEditor).
     
    So, I'm guessing that any solution for me will have to incorporated some logic to differientiate between the legacy notes stored
     as plain text and those with embedded html.
     
    To be perfectly clear, this webpage is just trying to display the stored content from MySql (created by CuteEditor) in a regular webpage - I'm not retrieving it for viewing within CuteEditor. I'm seeing html like <br>, etc.
     
    I haven't even tried to bring the stored data back into CuteEditor for actual editing, yet...
     
View Complete Thread