Countin g words in a html page with php
Posted
by turbod
on Stack Overflow
See other posts from Stack Overflow
or by turbod
Published on 2010-04-20T19:11:33Z
Indexed on
2010/04/20
19:13 UTC
Read the original article
Hit count: 210
How can I counting the numbers of words in a text when begin the text in the linktext? I must count the text of the title and alt attributes. Example:
<div> Hello something open.<img src="somethin.jpg" alt="hello"> <a href="open.php" title="open">click</a>
lorem ipsum <a href="open.php">here></a>
the output:
click 6
here 9
© Stack Overflow or respective owner