Thanks Kevin and sorry for the delay in responding. That is how I am already doing it except directly in the headinclude template. Using the if condition I can simply assign the keywords in the template. I want to define the keywords and description in the file and have them passed over to the headinclude template as the file is called.
This would be the top of my PHP file:
Code:
<?php
define( 'THIS_SCRIPT', "templatetitle" );
$mycarekeywords = 'my keywords here';
$mycaredescription = 'my care description here';
Then when the file is called it pulls the data I entered as shown above and has that used as the output.