Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: Title tag issue

  1. #1
    New Coder
    Join Date
    Apr 2011
    Posts
    11
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Title tag issue

    Hi Everyone,
    I'm having issues with the title tag on only one of my php files. The products.php file is used for any page with details about a product. In most of the files I call the title using a coding like this: <?php $thisPage="Dresses";?> but for the products page I tried this <?php $thisPage='$category';?> and it's just showing $category instead of the assigned category. I appreciate any help you can give me. Here's a link to a page I'm having issues with:
    http://www.tarimah.com/temp/product.php?id=10

  • #2
    Rockstar Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    9,074
    Thanks
    1
    Thanked 328 Times in 324 Posts
    Lose the quotes. $thisPage = $category;
    OracleGuy


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •