You are here

function _weather_es_conf_save in Weather_es 6.3

Same name and namespace in other branches
  1. 7 weather_es.module \_weather_es_conf_save()

Save the user configuration

@author jmsirvent

1 call to _weather_es_conf_save()
weather_es_form_submit in ./weather_es.module
@author jmsirvent

File

./weather_es.module, line 803

Code

function _weather_es_conf_save($wid, $cit_cod, $lan, $inf_typ, $inf_amo) {
  db_query("INSERT INTO {weather_es_conf} (wid, cit_cod, lan, inf_typ, inf_amo) VALUES (%d, %d, '%s', '%s', '%s')", $wid, $cit_cod, $lan, $inf_typ, $inf_amo);
}