Thread
:
count lines within a div
View Single Post
#
2
(
permalink
)
11-17-2004, 11:06 AM
Deep13
WebProWorld Veteran
Join Date: Dec 2003
Location: India
Posts: 306
echo substr_count ($string,"
");
each line will have
in order to print the text in new line...
so you will get No. of
and then you can do whatever you want with it...
I hope this is what you wanted...
Deep
__________________
Deep Ganatra
Gifts to India
-
Cisco Certification Training
-
CSS Based Website Design
Deep13
View Public Profile
Send a private message to Deep13
Visit Deep13's homepage!
Find all posts by Deep13