PHPのform値で配列を受け取る(複数)

php
https://xxx.com/?key[]=value1&key[]=value2
php
arr = $_GET["key"]; // 配列 keyに[]はつけない

関連記事