I still didn't quite understand so I will show the code for others to see but I also included an attachment. Thanks
<th width="28%" height="39"><span class="style4">Username</span></th>
<td width="72%"><input name="username" type="text" value="<?php echo((isset($_COOKIE["username"]))?$_COOKIE["username"]:"") ?>" size="40" maxlength="40" /></td>
</tr>
<tr>
<th height="43"><span class="style4">Password</span></th>
<td><input name="password" type="password" value="<?php echo((isset($_COOKIE["password"]))?$_COOKIE["password"]:"") ?>" size="40" maxlength="40" id="password" /></td>
</tr>
<tr>
<th height="43"> </th>
<td><label>
<input name="rem" type="checkbox" id="rem" value="1" <?php if (!(strcmp(((isset($_COOKIE["rem"]))?$_COOKIE["rem"]:""),1))) {echo "checked=\"checked\"";} ?> />
<span class="style6">Remeber Me</span></label></td>