From: "Freedomware" <[EMAIL PROTECTED]>

> I discovered that includes will apparently work just about anywhere, but
> echo functions apparently don't work with the <title> tag and meta tags;
> at least, I can't see the word "Alaska" in those locations when I click
> View Source in my browser.

Look back over your code and you'll realize you set $statename _AFTER_ you
include your file. So when the include file is "run", $statename doesn't
have a value. :)

> Also, do you know if text derived from includes causes any problems with
> search engines? My guess is no, because I can see the included words
> just fine when I click View Source.

No, they won't. Search engines, just like browsers, only see the RESULT of
your PHP code. So as long as the result is properly formatted HTML and META
tags, you're fine.

---John Holmes...

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to