urlã®ãã©ã¡ã¼ã¿ã«é åã使ç¨ãã GETéä¿¡ã§ã¯urlã«ãã©ã¡ã¼ã¿ãä»å ãã¾ããããã©ã¡ã¼ã¿ã«é åã使ç¨ãããã¨ããããã¾ãã é åã使ç¨ãã¦GETéä¿¡ãã¦ã¿ã¾ããã ããæ®éã®é åãªããé åæãã§indexãç¡ãå ´åãé åã«indexãä»ããå ´åãæ··åã®å ´åã¨è©¦ãã¦ã¿ã¾ããã <ul> <li><a href="varDump.php?a=2&b=1&c=3">é åãªã</a></li> <li><a href="varDump.php?ary[]=2&ary[]=1&ary[]=3">é åãã(indexç¡ã)</a></li> <li><a href="varDump.php?ary[3]=2&ary[1]=1&ary[2]=3">é åãã(indexæã)</a></li> <li><a href="varDump.php?a=2&b=1&c=3&ary[3]=2&ary[1]=
HTMLãã©ã¼ã ã®ãã§ãã¯ããã¯ã¹ããªãã®å ´åããã©ã¡ã¼ã¿èªä½ãéãããªããããããã§ãã¯ãã¦ããªãæã«ä½ããã®å¤ãåå¾ãããå ´åãããã Ruby on Railsã§ã¯ãã§ãã¯ããã¯ã¹ããªãã®å ´åã®å¤ãåå¾ããäºãã§ãããRailsã®ãã©ã¼ã ã¸ã«ãã使ã£ã¦ãã§ãã¯ããã¯ã¹ãçæããã¨ã以ä¸ã®ãããªHTMLãçæãããã <input type="checkbox" name="hoge" value="a"><input type="hidden" name="hoge" value="b"> ãã§ãã¯ããã¯ã¹ããªã³ã«ãã㨠hoge=a&hoge=b ã¨ãããªã¯ã¨ã¹ããã©ã¡ã¼ã¿ãéä¿¡ããããRailsã¯åãååã®ãã©ã¡ã¼ã¿ãè¤æ°ããã¨æåã®å¤ã使ãã®ã§ hoge ã®å¤ã¯ a ã¨ãªãããªãã«ãã㨠hidden ã®å¤ã®ã¿ãéä¿¡ãããã®ã§ hoge=b ã¨ãããªã¯ã¨ã¹ããã©ã¡ã¼ã¿ã«ãªããh
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}