Hi,
I can’t seem to find an answer for this but I was wondering how to load data from my database to my select drop-down box?
For example,
in PHP/HTML, you can populate data from a database to a select box as so:
[i]
<?php while($row < obdc_fetch_array($getRecords)){ echo "" . $row['itemFromDB'] . ""; } ?>[/i]
How can you do this in DHTMLX? I know it makes use of connectors but, in that case, I would need to do something such as:
var myFrom = [
{type:“select”, name:“mySelectFromDB”, options:[
Load From Database
]}
];
Sorry if this has already been answered. I may have not been looking in the right places.
Thanks in advance