PDA

View Full Version : AWS product page not working in title



MattM
02-03-2004, 07:18 PM
In my title tags, I'm echoing the product page like this:

<?=$ProductName?>
However, it does not work. The page loads fine, however the title is the page address, not the product name.

I'm using REST with Dan's article.

Chris
02-03-2004, 07:23 PM
You're missing a semi-colon.

MattM
02-03-2004, 07:26 PM
You mean this?

<?=$ProductName;?>
If so, still doesn't work.

GCT13
02-03-2004, 07:28 PM
I don't think you need a semi-colon when you echo values like that.

If you're using the article example MattM, you'll have to adjust the code so the loop begins before the <title> tags.

MattM
02-03-2004, 07:32 PM
That worked, thanks Dan! :)

GCT13
02-03-2004, 07:33 PM
Cool. What kind of store are you working on?

MattM
02-03-2004, 07:35 PM
Not sure yet, it is in electronics, I've been debating between two.