1. Fabrik 3.9 has been released. If you have updated Joomla to 3.9, this is a required update.
    Dismiss Notice

special chars like a apostrophe on fabrik forms

Discussion in 'Community' started by javier94, Feb 12, 2020 at 4:25 PM.

  1. javier94

    javier94 Member

    Level: Community
    How to deal with Special Chars like apostrophe?

    What I am doing is:
    From list and form php plugin I filled another table of the database.
    When I check the values on the table I see the special char (in that case the apostrophe)
    On fabrik element - Access - Save to database is set to NO.
    But everytime I save the form the element value changes from special char to html encode char and what i see on database table is '
     
  2. javier94

    javier94 Member

    Level: Community
    Any Suggestion please

    thanks in advance!!
    Javier
     
  3. javier94

    javier94 Member

    Level: Community
    Maybe do you need more information to help me??

    thanks!!
     
  4. juuser

    juuser Member

    Level: Community
    Hi,

    Does that help?

    Code (Text):
    $value = "bob's apples";
    $value_to_database =  html_entity_decode(htmlentities($value, ENT_QUOTES), ENT_QUOTES);
     
    Last edited: Feb 16, 2020 at 3:29 PM

Share This Page