Hello
I have a really big problem using connector script. On saving my grid i get special chars in database.
For loading data there’s the possibillity to load another charset:
$grid->set_encoding("iso-8859-1");
This works fine but is there any code for saving?
I hope you understand my problem.
Complete connector code:
if($_GET['id'] == "3") {
$name = new OptionsConnector($res);
$name->render_sql("SELECT id AS value, CONCAT(ma_nachname,' ',ma_vorname,' (Abt.: ',ma_abt,' / Job: ',ma_job,')') AS label FROM sk_mitarbeiter WHERE ma_extra = 0 ORDER BY ma_nachname ASC","id","id(value),label(label)");
$grid->set_encoding("iso-8859-1");
$grid->set_options("mod_user", $name);
$grid->render_table("sk_module","mod_user","mod_user,mod_shoutbox,mod_owarnung,mod_awarnung,mod_ersatzauftrag,mod_wonr_historie,mod_pegelwerte,mod_wonr_overview,mod_terminplaner,mod_blockieren,mod_memo,mod_aarbeiten,mod_f2_cablemaster,mod_zuruecksetzen,mod_news,mod_folgeticket_int,mod_sqn,mod_ne3,mod_upload,mod_delete_termin,mod_abrechnung,mod_mitarbeiter");
}
Thank you in advance
Best regards
Oli