php - joomla dev database gives wrong special chars UTF8 Unicode -
i tray data out of database. that's no problem. special chars è change è ë change ë ..
the database has right chars. rsform in backend shows right char. how data out of database use in plugin.
$db = jfactory::getdbo(); $query = $db->getquery(true); $query ->select(array('submissionid','fieldname','fieldvalue')) ->from($db->quotename('#__rsform_submission_values')) ->where($db->quotename('formid')." = 4") ->where($db->quotename('submissionid')." > 10928"); $db->setquery($query); $rows = $db->loadobjectlist(); foreach ($rows $row) {var_dump($row);};
my solution not work, let's give try ;)
i had similar issue ohana , ark editor... part created php configuration. comparing 2 servers configurations same joomla components, discovered « apm » wrongfully selected in php configuration.
i hope you.
Comments
Post a Comment