Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $str = $g->get_dropdown_values("
- SELECT
- distinct ROUND((h.ayuda_conc/10),0) as k,
- g.pae_gestion,
- g.id_gestion,
- h.n_pae,
- h.ayuda_conc,
- ROUND((h.ayuda_conc/10),0) as v
- FROM hijos_ayudas h
- INNER JOIN
- gestion g
- ON h.n_pae = g.pae_gestion
- ");
- $col["editoptions"] = array("value"=>":;".$str);
- $col["editoptions"]["onload"]["sql"] = "SELECT
- distinct ROUND((h.ayuda_conc/10),0) as k,
- g.pae_gestion,
- g.id_gestion,
- h.n_pae,
- h.ayuda_conc,
- ROUND((h.ayuda_conc/10),0) as v
- FROM hijos_ayudas h
- INNER JOIN
- gestion g
- ON h.n_pae = g.pae_gestion
- WHERE g.id_gestion = '{id_gestion}'";
Add Comment
Please, Sign In to add comment