예제 #1
0
										</div>
										<div class="form-group">
											<label class="col-sm-4 control-label"> <small>Last Name </small> </label>
											<div class="col-sm-7">
												<input type="text" size="25"id="user_last_name" name="user_last_name" value="<?php 
    echo $row['ul_name'];
    ?>
" placeholder="Text Field">
											</div>
										</div>
										<div class="form-group">
											<label class="col-sm-4 control-label"> <small>Country </small> </label>
											<div class="col-sm-7">
											<select style="width:215px;" name='country' id='country'>
												<?php 
    $country = $obj->country_list();
    while ($code = mysql_fetch_array($country)) {
        ?>
												<option value="<?php 
        echo $code['country_value'];
        ?>
"<?php 
        if ($code['country_value'] == $row['country']) {
            echo 'selected';
        }
        ?>
><?php 
        echo $code['country_name'];
        ?>
</option>
												<?php