This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$col = array(); | |
$col["title"] = "Targa"; | |
$col["name"] = "id_targa"; | |
$col["dbname"] = "id_targa"; | |
$col["width"] = "20"; | |
$col["edittype"] = "select"; | |
$str = $g->get_dropdown_values("select id as k, targa as v from veicoli order by targa"); | |
$col["editoptions"] = array( | |
"value"=>":;".$str, | |
"onload" => array( "sql"=>"SELECT id as k, targa as v FROM veicoli WHERE id='{id_targa}' ORDER BY targa", |