Need urgent help with TinyMCE & PHP

Discussion in 'PHP' started by pnaidoo, Feb 11, 2014.

  1. #1
    Hi everyone

    I am urgently looking for help on an issue with TinyMCE & PHP.

    I am making use of TinyMCE in a text area where a single user can type information, add hyperlinks and format text.

    I need the information saved in a MySQL database.

    My problem is:

    If I type raw HTML code in TinyMCE the the data gets stored correctly in the database and I get it displayed correctly on the website.

    However, the moment the user does not make use of raw HTML, and make use of TinyMCE in typing the article, adding links and formatting, the data gets stored as plain text and all formatting is stripped.

    Can someone please help me to get the information stored correctly in mysql database when typing and making use of TineyMCE?
     
    pnaidoo, Feb 11, 2014 IP
  2. competent123

    competent123 Notable Member

    Messages:
    1,750
    Likes Received:
    71
    Best Answers:
    6
    Trophy Points:
    255
    #2
    competent123, Feb 11, 2014 IP
  3. Iconiplex

    Iconiplex Member

    Messages:
    119
    Likes Received:
    9
    Best Answers:
    2
    Trophy Points:
    43
    #3
    Without seeing how your site, how TinyMCE is implemented, and how your server-side code processes data, we can't help you solve the issue.
     
    Iconiplex, Feb 11, 2014 IP