skygremlin Posted November 12, 2013 Share Posted November 12, 2013 I've been looking at this for a bit and can't seem to figure what's going on? I have used this code before and never had this issue.... I'm tryig to populate a dropdown menu from a MySql DB. The dropdown menu seems to skip the first array... I attached a screenshot that hopefully show's what I'm talking about.. any thoughts? Link to comment https://forums.phpfreaks.com/topic/283848-php-drop-down-menu/ Share on other sites More sharing options...
mac_gyver Posted November 12, 2013 Share Posted November 12, 2013 your <select tag is missing the closing > so everything up to the first > is part of the <select tag. Link to comment https://forums.phpfreaks.com/topic/283848-php-drop-down-menu/#findComment-1458029 Share on other sites More sharing options...
Ch0cu3r Posted November 12, 2013 Share Posted November 12, 2013 On line 26 of home.php you are not closing the select tag. This is how line 26 should read. echo "<select name='cust_id'>"; Link to comment https://forums.phpfreaks.com/topic/283848-php-drop-down-menu/#findComment-1458030 Share on other sites More sharing options...
skygremlin Posted November 12, 2013 Author Share Posted November 12, 2013 AHH.... thanx... Link to comment https://forums.phpfreaks.com/topic/283848-php-drop-down-menu/#findComment-1458037 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.