I have a screen of 15 fields and a single card status button of hyperlink of other page in PHP.
My problem is while inserting I can open that button of link in my page, but then after I perform update on same page that button link is not redirecting – why?
<tr>
<td colspan="1">
<div class="d-flex justify-content-between">
<button type="submit" style="width:200px;height:50px;" id="k" onclick="location.href='issue.php'" class="number-input btn btn-light" name="Card Issuance" value="Card Issuance">Card Issuance</button>
<select style="width:250px;height:35px" class="form-control number-input my-3" name="cardstatus">
<option value="" disabled selected hidden>Card Issuance Status...</option>
<option value="1" <?php if ($cardstatus=="1") {echo "selected";}?>>Active</option>
<option value="2" <?php if ($cardstatus=="2") {echo "selected";}?>>Inactive</option>
</select>
</div>
</td>
<td>
<input type="text" class="number-input form-control" name="o10" style="width:200px" value=<?php echo "'$o10';" ?> autocomplete="off">
</td>
<td>
<input type="date" class="number-input form-control" name="etenth" style="width:200px" value=<?php echo "'$etenth';" ?> autocomplete="off">
</td>
</td>
<td>
<input type="date" min="1710-04-01" style="width:200px" class="form-control" name="atenth" value=<?php echo "'$atenth';" ?> autocomplete="off">
</td>
</tr>