重複しない複数の要素をランダムに表示する方法。(PHP編)
ページを再読み込みしてみてください。
表示される要素がランダムで切り替わります。
- 要素7
- 要素6
- 要素5
Warning: Undefined variable $check in /home/onze/on-ze.com/public_html/demo/php-random/index.php on line 26
Warning: Trying to access array offset on value of type null in /home/onze/on-ze.com/public_html/demo/php-random/index.php on line 26
Warning: Undefined array key 5 in /home/onze/on-ze.com/public_html/demo/php-random/index.php on line 26
Warning: Undefined array key 4 in /home/onze/on-ze.com/public_html/demo/php-random/index.php on line 26