Hi,
I know this is a simple question, but I'm new to this so please excuse my ignorance.
Here's my problem. I'm using a shopping cart script that's written in php. Within the admin area of the cart, you can specify the html for a custom header of the shop pages, which I've done.
What I want to do is insert php code in between the <title></title> tags so that the category name will be dynamically displayed, which isn't the way the script is written now. It just displays a static title for all pages.
The problem that I've run into is that this header code that's specified in the admin section is placed into a (string) variable for the script to access, so even though I've placed my code between the php script delimiters (within the title tags) it's displaying the code in the title bar instead of executing it. How do I correct this?
Thanks very much.
I know this is a simple question, but I'm new to this so please excuse my ignorance.
Here's my problem. I'm using a shopping cart script that's written in php. Within the admin area of the cart, you can specify the html for a custom header of the shop pages, which I've done.
What I want to do is insert php code in between the <title></title> tags so that the category name will be dynamically displayed, which isn't the way the script is written now. It just displays a static title for all pages.
The problem that I've run into is that this header code that's specified in the admin section is placed into a (string) variable for the script to access, so even though I've placed my code between the php script delimiters (within the title tags) it's displaying the code in the title bar instead of executing it. How do I correct this?
Thanks very much.