Articles Tagged 'implode ()' Very short trick: take random elements from an array in PHP January 27, 2009 PHP , Very Short Trick 2 comments The function shuffle() PHP "mixes" literally the elements of an array: 1 2 3 4 array ( "ele1" , "ele2" , "ele3" , "ele4" ) ; $ A = array ("ele1", "ele2", "ele3", "ele4"); $a ) ; print_r ($ a); $a ) ; shuffle ($ a); $a ) ; print_r ($ a); More ...
Latest Comments
kOoLiNuS : @ Giovambattista Fazioli: thank you! more than willing!
Giovambattista Fazioli : @ kOoLiNuS: Quiet, you can probably anticipate that WPX Cleanfix will be free, and ...
kOoLiNuS : @ kOoLiNuS: a missing
and a 
kOoLiNuS : @ Giovambattista Fazioli: I subscribed to, but when I was my amateur use of the platform ...
Giovambattista Fazioli : @ kOoLiNuS: Yes, this is a known issue. Occurs when the tables in question are ...