[Solved] Html / php not updating sql database [duplicate]


Your if-statement checks !empty($_POST['doa']), but your form does not contain a doa:

<label for="doa">Date of Admission:</label>
<input type="text" name="dob">

This <input> should probably have name="doa" instead of dob.

3

solved Html / php not updating sql database [duplicate]