Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Crazy PHP syntax


canfone

Recommended Posts

Posted

Can someone please take a look at this syntax and let me know where i am going wrong....

 

<?php echo '<AREA shape=RECT' . ' coords=125,5,177,43 ' . 'href=' . tep_href_link(FILENAME_ACCOUNT, ,SSL) . '>; ?>

 

 

Thanks... I am changing the header.php with an image map... I keep getting errors.

------------------------

Chief Web Developer

http://Canfone.com

https://SecureLogoHosting.com

Posted

something like this

 

echo '<AREA shape="RECT" coords="125,5,177,43" href="' . tep_href_link(FILENAME_ACCOUNT,'' ,'SSL') . '">';

Posted

Or if you want to make it easier to read:

 

<?php

$url = tep_href_link(FILENAME_ACCOUNT, '', 'SSL');

echo "<area shape='rect' coords='125,5,177,43' href='$url' />";

?>

Archived

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

×
×
  • Create New...