Archive

Posts Tagged ‘explode’

Counting the number lines in a string – 2 Solution

February 20th, 2009 No comments
Counting the number lines in a string – 2 Solution Counting the number lines in a string with explode function: <?php $lines = explode("\n", $string); $nr_lines = count($lines)-1; ?> Counting the number lines in a string with  substr_count function: <?php $nr_lines = substr_count($string,"\n"); ?> the 2'nd solution is better.

Sparkler Bomb – funny and crazy

July 4th, 2008 1 comment
Sparkler Bomb – funny and crazy [vg_byrev] [vg_youtube _DRCBu1eP_U#9,000 sparklers##Sparkler Bomb 9,000 sparklers+!!!. Some of my friends and I got the idea to do this in 2005 after discovering how cool lighting 20 something sparklers was. Then we moved to about 250. Very cool with 20ft flame. ...
GoCache - ByREV-Cache v1.0 - live served in : 0.392143 sec (gzip)