csv - Storing Special Characters titles in update_post_meta in Wordpress -
i have created custom plug-in store user information via csv import. have created custom post types along custom fields. stored in database, except special characters in user name 'Évana '. how overcome problem.
update_post_meta($post_id,'username_name', $line_of_text[1]);
note: have read values csv , converted array. here $line_of_text[1]
holds values of user name.
i stored special characters values in post title using htmlentities() function.
Comments
Post a Comment