Windows linux Software Super Tips

All Tips For Os & Software

 
Home
Add to Technorati Favorites

php array rand test code
Monday, August 13, 2007
<-----php
$test = array('A', 'B', 'C', 'D');
$result = array_rand($test);
echo $test[$result];
------php>

Labels: , ,

 
php tags generator code
Monday, August 6, 2007

//php code By Gitem
$tags ="What,The,Hell,Is,That,2007,Part,1";
$tags_array = explode(",", trim($tags));
$count = count($tags_array);
foreach($tags_array AS $tag) {
echo '.$tag.';
$count--;
if ($count > 0) echo $separator;
}



Form:http://board.michaelpark.net/viewtopic.php?t=35

Labels: , , ,

 
Search



Previous Post
Archives
Links
    Add to My Yahoo! Subscribe with Bloglines Subscribe in NewsGator Online Add to My AOL Add to Technorati Favorites!
Powered by

BLOGGER

© 2005 Windows linux Software Super Tips
eXTReMe Tracker