Thread
:
Extracting H2 tag
View Single Post
09-14-2005, 03:59 AM
#
2
Charter
Head Mole
Join Date: May 2003
Posts: 2,539
If you only want the second H2 tag try:
Code:
$title = trim($regs[1][1]);
Instead of the following:
Code:
$title = trim($regs[0][1]." ".$regs[1][1]." ".$regs[2][1]);
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter
View Public Profile
Find More Posts by Charter