I have website in PHP a products based website. Products pages are genrated dynamically with their Id's. I want to change the Meta tags of category (Products) page. I have a Product page, i want a PHP code to change the meta tags of category (Products) pages with the help of their Id's. I think its done with "If & Else Condition in PHP" . If any one know please help me.

Any know the code mail me at <EMAIL SNIPPED>

Regards
Laxmi Narayan

you wont even need the if else to have the dynamic meta tags , do something like below -
<meta http-equiv="keywords" content="<?php echo "this is static or fixed".$dynamic_id. "this is again static".$dynamic_name />
Like in above case $dynamic_id will have its unique value for each record.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.