Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to make a link open in a new window in php?


drmike

Recommended Posts

Just a quick question. Can someone help me change the following code to open the link in a new window instead of in the same window? TIA.

 

<td class="pageHeading" align="middle"><?php echo '<a href="http://www.site.com" target="_blank">', HEADING_TITLE,'</a>'; ?></td>

 

should be:

<td class="pageHeading" align="middle"><?php echo '<a href="http://www.site.com" target="_blank">' . HEADING_TITLE . '</a>'; ?></td>

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...