Posted 12 November 2013 - 05:42 PM
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..
Posted 12 November 2013 - 05:50 PM
your <select tag is missing the closing > so everything up to the first > is part of the <select tag.
Posted 12 November 2013 - 05:51 PM
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'>";
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users