Thank you very much, How can i find the function which is filling the _Post array, i would like to add a new item to it called areacode. I have already added the field in the table, But on front end i want to add the changes:
I have the following code:
///// default multilanguage field for select
$field_name = $multi_lang->DefaultFieldName();
////////// settings
$strSQL = "select value, name from ".SETTINGS_TABLE." where name in ( 'min_age_limit', 'max_age_limit','zip_letters', 'zip_count') ";
$rs = $dbconn->Execute($strSQL);
while(!$rs->EOF){
$settings[$rs->fields[1]] = $rs->fields[0];
$rs->MoveNext();
}
if($err){
$form["err"] = $err;
$data["fname"] = $_POST["fname"];
$data["sname"] = $_POST["sname"];
$data["login"] = $_POST["login"];
$data["email"] = $_POST["email"];
$data["gender"] = $_POST["gender"];
$data["id_country"] = $_POST["country"];
$data["id_city"] = $_POST["city"];
the following functions are in class multi_lang
function MultiLang($config, $dbconn){
$this->config = $config;
$this->dbconn = $dbconn;
}
function DefaultFieldName(){
return "lang_".$this->config["default_lang"];
}
Thank you.