MasterACE14 Posted July 3, 2007 Share Posted July 3, 2007 Can you create a meta tag and put it in a variable like this: <?php $meta = '<meta name = "creator" content = "ACE" > <meta name = "keywords" content = "Online,MMORPG,game,fun,crazy,roleplay" > <meta name = "description" content = "Conflicting Forces is a MMORPG" > <meta http-equiv = "Content-Type" content = "text/html; charset = ISO-8859-1" > <style type = "text/css" > body { background-color: black; color:white } </style>'; ?> and then on another page include("metatag.php"); and will that set the pages meta tag on that page? Regards ACE Quote Link to comment Share on other sites More sharing options...
jitesh Posted July 3, 2007 Share Posted July 3, 2007 yes create a file meta.php like this <?php $meta = '<meta name = "creator" content = "ACE" > <meta name = "keywords" content = "Online,MMORPG,game,fun,crazy,roleplay" > <meta name = "description" content = "Conflicting Forces is a MMORPG" > <meta http-equiv = "Content-Type" content = "text/html; charset = ISO-8859-1" > <style type = "text/css" > body { background-color: black; color:white } </style>'; echo $meta; ?> Then inculde like this include_once ('meta.php'); Quote Link to comment Share on other sites More sharing options...
MasterACE14 Posted July 3, 2007 Author Share Posted July 3, 2007 Excellant! Thanks Regards ACE Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.