title: How to get random image from directory using PHP
body: <p>I have one directory called images/tips.</p>
  
  <p>Now in that directory I have many images which can change.</p>
  
  <p>I want the PHP script to read the directory, to find the images, and out of those images found to pick a random image.</p>
  
  <p>Any idea on how to do this?</p>