Hi,
Thank you so much for this work. It was very helpfull for me.
I need to make a dynamic select from my database to but in the editoptions and searchoptions
Please give a solution
Regards,
2 Answers
I found a solution for the dynamic select but still a problem when I add or edit the item the action doesn't work.
$res_act=mysql_query("select * from civilite ");
$vals="'";
while($row_act=mysql_fetch_array($res_act))
{
$vals.=$row_act[0].":".$row_act[1].";";
}
$vals=substr($vals,0,-1);
$vals.="'";
$col["editoptions"] = array("value"=>$vals);
Your Answer