I am trying to create a search box where the option selected from \'box1\' populates the options available for \'box2\'. The options for both boxes are given from my MYSQL d
Try this:
You made one mistake here in select && option tag structure of HTML. Just modify this and your code will work. && '.$row['name'].' School'; ?> >> Add name property in select statement and value in place of name in option tag.
Thanks!