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:
parent
25e030c613
commit
1c50bdc7bc
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user