iwebconsulting.no
Several ways to fetch a random element from an array (PHP)
In lot of applications, we need to pick up one element randomly from an array. For example, we need to select a random color for some text from a group of predefined colors. Below is several method…