1
0
mirror of https://github.com/fspc/Yellow-Bike-Database.git synced 2025-02-22 17:03:22 -05:00

Adds a hidden value for date.

1) Allows shop to be updated, without it dissapearing because the date is zeroed out.
2) Because input became a div in previous commit.
This commit is contained in:
Jonathan Rosenbaum 2015-03-24 05:55:29 +00:00
parent 25e030c613
commit 1c50bdc7bc

View File

@ -161,6 +161,7 @@ if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "ChangeDate")) {
</tr>
<input type="hidden" name="MM_insert" value="FormEdit" />
<input type="hidden" name="shop_id" value="<?php echo $row_Recordset1['shop_id']; ?>" />
<input type="hidden" name="date" value="<?php echo $row_Recordset1['date']; ?>" />
</form>
<?php } else { // end if EDIT RECORD ?>
<tr>