Browse Source

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.
devel
Jonathan Rosenbaum 10 years ago
parent
commit
1c50bdc7bc
  1. 1
      start_shop.php

1
start_shop.php

@ -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…
Cancel
Save