teratail header banner
teratail header banner
質問するログイン新規登録

回答編集履歴

1

調整

2020/08/01 16:27

投稿

yambejp
yambejp

スコア117898

answer CHANGED
@@ -21,13 +21,13 @@
21
21
  <td>1</td>
22
22
  <td>2</td>
23
23
  <td>3円</td>
24
- <td><input type="text" name="kazu<?=$i;?>" value="4"> </td>
24
+ <td><input type="text" name="kazu<?=$i?>" value="4"> </td>
25
25
  <td>5円</td>
26
- <td><input type="checkbox" name="sakujo<?=$i;?>"></td>
26
+ <td><input type="checkbox" name="sakujo<?=$i?>"></td>
27
27
  </tr>
28
28
  <?php endfor;?>
29
29
  </table>
30
- <input type="hidden" name="max" value="<?php print $max;?>">
30
+ <input type="hidden" name="max" value="<?=$max?>">
31
31
  <input type="submit" value="数量変更"><br>
32
32
  <input type="button" onclick="history.back()" value="戻る">
33
33
  </form>