if (isset($result['id']) && $result['Area'] == $result['Area']) { ?> selected<?php } ?> ><?php echo getarea(stripslashes(ucfirst($result['Area']))); ?> </option> </select> </div></td> <td>Pin Code <span class="red">*</span></td> <td><div id="divpincode"> <input name="pin_code" id="pin_code" class="form-control text_box" value="<?php if (isset($result['id'])) { echo getpincode($result['Pin_code']); } ?> " type="text" /> </div></td> </tr> <tr> <td>Address <span class="red">*</span></td> <td rowspan="2" valign="top"><textarea id="Address" class="form-control txt_area" name="Address" rows="2" style="width:200px" ><?php if (isset($result['id'])) { echo $result['Address']; } ?> </textarea></td> <td> </td> <td></td>
<td><small> <?php if ($row["State"] == 0) { echo "N/A"; } else { echo getstate(stripslashes($row["State"])); } ?> </small></td> <td> <small> <?php if ($row["pincode"] == 0) { echo "N/A"; } else { echo getpincode(stripslashes($row["pincode"])); } ?> </small></td> <td><small><?php echo stripslashes($row["contact_Person"]); ?> </small></td> <td><small><?php echo stripslashes($row["contact_no"]); ?> </small></td> <td><small><?php echo stripslashes($row["branchtype"]); ?>