how to add field with select_option from databse?
Brought to you by:
jberanek
how i can add field with array option from database?
example : this script i'm added on config.inc
require_once mrbs_sql.inc
global $tbl_departement;
$sql= mysql_query("SELECT * FROM $tbl_departement");
if($sql === FALSE) {
die(mysql_error());
}
$select_options['entry.departement'] = array();
that output always be no database selected.
thats possible to adding value of array from database on extra field?
See https://sourceforge.net/p/mrbs/bugs/282/
Campbell