First words

First x words

	$temp = explode(" ", $text);
	for ($x; $x < $num; $x++) $out .= $temp[$x];
return $out;

}

Usage

string, int first_words -> string


Comments

Add your comment