Archive for August, 2007

php – str_shuffle function

php

str_shuffle function

<?php
$str = ‘smartknight’;
$shuffled = str_shuffle($str);
// This php function randomly shuffles a string.

echo $shuffled;

// This will echo something like: tmahnskigrt
?>

freelance

Advertisements

Leave a Comment