special chars like a apostrophe on fabrik forms

javier94

Member
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 '
 
Hi,

Does that help?

Code:
$value = "bob's apples";
$value_to_database =  html_entity_decode(htmlentities($value, ENT_QUOTES), ENT_QUOTES);
 
Last edited:
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top