Good afternoon:
I am in process of customizing my 1.50 installation on GoDaddy for my organization. We have approximately 2500 end-users that will be transitioning from a paper and telephone to electronic supply ordering processes realistically through 2Q and 3Q 2013. ZenCart will be serving as our primary web-front between two separate installations. We are presently in a beta environment while working out the bugs and are working some things out. One of the things we have found is that our end users want point and click functionality when selecting their particular duty stations rather than typing them in (we have over fifty separate locations). To that end, I am using MySQL to automatically populate a dropbox created using zen_draw_pull_down automatically on the fly.
I am having some difficulty accomplishing this. My dropbox will detect the five test rows, it will not populate the data in these rows, however. Code and links are attached. Any help anyone can give would be appreciated.
Regards,
Jeremiah Cook
Inventory Systems Specialist
Indianapolis EMS
http://www.iemssupply.org/zencart/in...ain_page=login
Code:$IEMSquery = "SELECT * from `thedatabase`.`thedatatable`"; $result = mysql_query($IEMSquery) or die(mysql_error()); $unit = array(); while($row = mysql_fetch_array($result)){ $unit[$row['friendly_name']] = $row ['friendly_name'];}; print_r($unit); echo zen_draw_pull_down_menu('suburb',$unit,'','');


Reply With Quote
