I have an external config file that is used to create pages in php. Some of these pages have the $keywords $description variables in them, some do not. I would like to write a simple if_else statement that will either use the 2 variables in the config file or include a set meta tag file.
this is what I have so far:
<?php
if ($keywords $description)
{
echo ("<META name="keywords" content="$keywords">
<META name="description" content=" $description">");
}
else
{
require $inc_dir . "/meta.inc";
}
?>
thanks:
NetPaths.net - low cost php webhosting
fanatical support!