Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

add image to "What's new here" header


yosc

Recommended Posts

Posted

I'm trying to add an image to the "What's new here" header at the top of main page:

 

define('HEADING_TITLE', 'What\'s New Here?' img src="images/image1.gif");

 

but get a parse error. I've tried a few different options like

 

define('HEADING_TITLE', 'What\'s New Here?', <img src="images/oscommerce.gif">);

 

but it didn't work for me. is there some simple syntax error I'm making? not sure what's the right way to do it...

 

thank you

Joe

Posted

I've figured it out, the correct syntax should be:

 

define('HEADING_TITLE', 'What\'s New Here? <img src="images/oscommerce.gif">');

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...