<div class="col-md-7" > <h1 Style="color:#ffffff;"><a href="home.php" style="color:#ffffff;">Find Your Food <a/></h1> <p Style="color:#ffffff;">Get to know everything about foodshops near you</p> <div class="row"> <div class ="col-md-8"> <form class="navbar-form navbar-left" role="search" action="home.php" method="post"> <div class="form-group"> <input type="text" class="form-control" placeholder="Search"> </div> <select name="dropdown_city" style="font-size:large;"> <?php $result = get_all_city(); while ($myrow = mysql_fetch_array($result)) { ?> <option value="<?php echo $myrow['city_id']; ?> "> <?php echo $myrow['name']; ?> </option> <?php } ?> </select> <button type="submit" name="submit" value="Submit" class="btn btn-default">Submit</button> </form>
?> </select> </span> </h2> </div> <div class="ui blue segment"> <h2 class="ui teal header"> Select City : <span> <select name="city"> <option value="0"></option> <?php $item_set = get_all_city(); while ($myrow = mysql_fetch_array($item_set)) { ?> <option value="<?php echo $myrow['city_id']; ?> "> <?php echo $myrow['name']; ?> </option> <?php } ?>
<label for="region">Region / State :</label> <select name="region" class="form-control"> <?php echo get_all_region(); ?> </select> <span class="text-danger"><?php echo form_error(); ?> </span><br/> <label for="city">City :</label> <select name="city" class="form-control"> <?php echo get_all_city(); ?> </select> <span class="text-danger"><?php echo form_error(); ?> </span><br/> <label for="address">Address :</label> <textarea name="address" class="form-control" rows="3"></textarea> <span class="text-danger"><?php echo form_error('address'); ?> </span> </div> <div class="col-md-6 right-panel">