Bigbruin.com
Home :: Reviews & Articles ::
Forum :: Info :: :: Facebook :: Youtube :: RSS Feed
Search  :: Register :: Log in
View Single Post  Topic: PHP help - including variables from separate file 
Author Message
IceNine
Rated XXX


PostPosted: Tue, 21 Dec 2004 15:39:16    Post Subject: Reply with quote

Code:
preg_match("/<title>(.*)<\/title>/i", $html_content, $match);


It creates the variable $match, which is an array. The title will be in $match[0]
_________________

A letter to a soldier
View user's profile Send private message

Contact Us :: On Facebook :: On Youtube :: Newsletter :: RSS Feed :: FAQ :: Links :: Sponsors :: Privacy Policy
Copyright © 2000 - 2023 Bigbruin.com - All rights reserved