please help why everytime when I run it it has this undefined error
( Notice: Undefined index: u_role in C:\xampp\htdocs\mysite\membership.php on line 136
/> Member Notice: Undefined index: u_role in C:\xampp\htdocs\mysite\membership.php on line 137
/> Administrator)
<td>User Role:*</td>
<td><input type="radio" name="u_role" value="Member" <?php if($_POST['u_role']=="Member"){echo"checked='checked'";}?> /> Member
<input type="radio" name="u_role" value="Administrator" <?php if($_POST['u_role']=="Administrator"){echo"checked='checked'";}?> /> Administrator </td>
</tr>
<tr>
/* and also the gender */
<tr>
<td>Gender:*</td>
<td><select name="gender">
<option value=""></option>
<option value="Male"> <?php if($_POST['gender']=="Male"){echo "selected='selected'";}?>Male</option>
<option value="Female"> <?php if($_POST['gender']=="Female"){echo "selected='selected'";}?>Female</option>
</select> </td>
</tr>