Hello Guy's
If you need to edit and update it in database click on edit option not able to fetch the record from database?
This code paste on your edit page when use html form.
This is the Country Dropdown List Value code
<option value="">Select your country</option>
<option value="Bangladesh" <?php if ($row['country'] == 'Bangladesh') { echo ' selected="selected"'; } ?>>Bangladesh</option>
<option value="india" <?php if ($row['country'] == 'india') { echo ' selected="selected"'; } ?>>india</option>
OR This is the Gender
Dropdown List Value
<label for="radio">Gender</label>
<input type="radio" name="gender" id="" value="Male" <?php if ($row['gender'] == 'male') { echo ' selected="selected"'; } ?>>Male
<input type="radio" name="gender" id="" value="Female" <?php if ($row['gender'] == 'female') { echo ' selected="selected"'; } ?>>">Female
0 Comments