من چندین تصویر میخوام تصادفی نمایش بدم ،
این روش کد نویسی درسته؟
محتویات فایل phpکد PHP:
<style type="text/css">body { background-image: url(../images/backgrounds/rotate.php);}</style>
کد PHP:
<?php $backgrounds = glob('path/to/images/*.jpg'); shuffle($backgrounds);?>