Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help - image will not link to page!


asterotech

Recommended Posts

<a href="url_to_page"><img src="images/cantfind.gif" border=0></a>

 

Try that. But, where in the code? It may need to be like this...

 

?><a href="url_to_page"><img src="images/cantfind.gif" border=0></a><?php

 

or some other way...

Community Bootstrap Edition, Edge

 

Avoid the most asked question. See How to Secure My Site and How do I...?

Link to comment
Share on other sites

<a href="url_to_page"><img src="images/cantfind.gif" border=0></a>

 

Try that. But, where in the code? It may need to be like this...

 

?><a href="url_to_page"><img src="images/cantfind.gif" border=0></a><?php

 

or some other way...

An under the "some other way" category I'd like to add:

 

<?php echo '<a href="' . tep_href_link('page.php') . '"><img src="images/cantfind.gif" alt="Click to Request Product" border="0"></a>'; ?>

Change the part in red to the page you want to link to.

:)

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Thanks for the help guys but I've tried them and it's still not working. Very odd.

Here's the code:

 

<td width=3></td>

<td><a href=<?=tep_href_link('index.php?cPath=38')?>><img src=images/m14.png border=0></a></td>

<td width=3></td>

<td><a href=<?=tep_href_link('product_info.php','products_id=138')?>><img src=images/m15.png width=176 height=136 border=0></a></td></tr>

<tr><td colspan="1" height="3>

<?php echo '<a href="' . tep_href_link('contact_us.php') . '"><img src="images/cantfind.gif" alt="Click to Request Product" border="0"></a>'; ?>

<td colspan="5" height="1"><center> <br><font color="black"><b>GamerVille.ca | Canada’s largest video games accessories supplier offering you with Free Shipping on every order to anywhere in the world.</b><bR>

</center></td></tr>

<tr><td colspan="1" height="3"><a href="shipping.php"><img src="images/freeshippingworldwide.gif" alt="Free Worldwide Shipping on every order!" border="0"></a></td>

<td colspan="5" height="1"><center> <br><font color="black">

We also carry a huge variety of Nintendo Wii accessories, DS Lite, DSi, Playstation 3 accessories, controllers and replacement parts.

Looking for electronics such as Mp3, Mp4 players, GPS Devices or unlocked mobile phones? Check out our electronics store, <a href=http://www.asterotech.com>AsteroTech.com</a><br><br>

</center></td></tr>

</table>

 

 

 

 

 

 

 

<tr><td colspan="1" height="3>

<?php echo '<a href="' . tep_href_link('contact_us.php') . '"><img src="images/cantfind.gif" alt="Click to Request Product" border="0"></a>'; ?>

 

This is the part that wont link. Im so confused.

Link to comment
Share on other sites

Syntax error in the preceding line:

 

<tr><td colspan="1" height="3>

Needs to be:

 

<tr><td colspan="1" height="3">

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...