Photoshop.Ka.Janaza.Rip Facebook Page

26 05 2015
Advertisements




How To Truncate or Crop Word From String Php

23 08 2011

// LIMIT EXCERPT
function crop_word($word,$num) {
//echo utf8_encode(substr(get_the_excerpt(), 0, $num+1)) . “…”; //for character
//or //below for word
$limit = $num+1;
$excerpt = explode(‘ ‘, $word, $limit);
array_pop($excerpt);
$excerpt = implode(” “,$excerpt).”…”;
return $excerpt;
}

//main program
$string_data=”How To Truncate or Crop Word From String Php”;
echo crop_word($string_data,3); //output::How To Truncate





Check The Wapda Game Lolzzzzzzzzzzzzzz:)

21 08 2011





Check This Bug!!!!And removed it :)

11 08 2011





Videos Posted by Cute Video’s Club |||||||||||||| CVC |||||||||||||||: Cute Video’s Club(CVC)-So Cute and Lovely Kid Check it Here!!!!

28 07 2011

http://www.facebook.com/CuteVideossClub

Vodpod videos no longer available.





Videos Posted by Cute Video’s Club |||||||||||||| CVC |||||||||||||||: Cute Video’s Club(CVC)-So Cute and Lovely Kid Check it Here!!!!

28 07 2011

http://www.facebook.com/CuteVideossClub

Vodpod videos no longer available.





Videos Posted by Cute Video’s Club |||||||||||||| CVC |||||||||||||||: Cute Video’s Club(CVC)-So Cute and Lovely Kid Check it Here!!!!

28 07 2011

http://www.facebook.com/CuteVideossClub

Vodpod videos no longer available.








%d bloggers like this: