crewscw Posted August 27, 2010 Share Posted August 27, 2010 Hi there, I'm trying to get the full Product Name in the <title> of each of the product pages - I can't seem to figure out what to put in the product_info.php... I've tried a few different options but I'm not great with php Here's what I have currently but it creates errors... <script language="javascript"><!-- document.write('<title><?php echo TITLE; ?> : <?php $product_info['products_name']; ?> </title>'); //--></script> Hope someone can help - thanks so much! Quote Link to comment Share on other sites More sharing options...
haku Posted August 30, 2010 Share Posted August 30, 2010 Why are you doing this in javascript if you are outputting it from PHP? Quote Link to comment Share on other sites More sharing options...
chintansshah Posted September 22, 2010 Share Posted September 22, 2010 HTML code <head> <title><?php echo $title; ?></title> </head> Quote Link to comment Share on other sites More sharing options...
Rakuhana Posted October 8, 2010 Share Posted October 8, 2010 What system are you using? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.