I wonder if anyone can help
i am not very good with php and have a problem that I need some input into
I would like to right a loop or some conditions that say if the url has product_info in it use this code
<title><?php echo $the_product_name; ?></title>
<meta name="keywords" content="<?php echo $the_product_name; ?>, <?php echo $the_product_model; ?>, <?php echo $the_manufacturers['manufacturers_name']; ?>">
<meta name="description" content="<?php echo $the_product_description . "," . $the_product_name; ?>">
if it does not then use this code
<?php
if (file_exists(DIR_WS_INCLUDES . 'meta_tags.php')) {
require(DIR_WS_INCLUDES . 'meta_tags.php');
} else {
?>
<title><?php echo TITLE ?></title>
<?php
}
?>
Can anyone help or advise
Thanks in advance