/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<ul> <?php // LI items "<li>Elemento 1</li>", "<li>Elemento 2</li>", "<li>Elemento 3</li>", "<li>Elemento 4</li>", "<li>Elemento 5</li>", "<li>Elemento 6</li>", "<li>Elemento 7</li>", "<li>Elemento 8</li>", "<li>Elemento 9</li>" ); ?> </ul>
URL: http://www.undolog.com/2009/01/27/very-short-trick-prendere-elementi-casuali-da-un-array-in-php/