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:03:23    Post Subject: Reply with quote

Do you include "example.html" before you echo the title? You could do it a couple ways:

preg_match() it, finding a special tag - not $title = 'monkey' but something like <title>monkey</title>

Or you could change example.html into example.php and in one small spot, just to <?$title = 'monkey'; ?> and the variable would be set.
_________________

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