Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Need help with PHP


leveera

Recommended Posts

Please help because I have no luck to write it correctly!

 

This is a code I have:

 

$info_box_contents[] = array('align' => 'left',

'text' =>

'<a href="' . tep_href_link(FILENAME_ACCOUNT, '', 'SSL') . '">' LOGIN_BOX_MY_ACCOUNT . '</a><br><hr align=center size=1 width=100% color=dddddd>' .

 

 

I need to put ABC.gif image before <a href=

 

Thanks!

Sergei

Link to comment
Share on other sites

'OK not much of help but I discovered this code

 

'<a href="' . tep_href_link(FILENAME_ACCOUNT, '', 'SSL') . '">' .tep_image(DIR_WS_IMAGES . 'arrow_right.gif', '') . '' . LOGIN_BOX_MY_ACCOUNT . '</a>

 

it works but included image in the huperlink.

How to put image outside of huperlink, just before?

 

Any advise?

 

Sergei

Link to comment
Share on other sites

$info_box_contents[] = array('align' => 'left',
'text' => tep_image(DIR_WS_IMAGES . 'ABC.gif', '') .  '<a href="' . tep_href_link(FILENAME_ACCOUNT, '', 'SSL') . '">' LOGIN_BOX_MY_ACCOUNT . '</a><br><hr align=center size=1 width=100% color=dddddd>';

 

cheers,

Peter M

Peter McGrath

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

See my Profile (click here) for more information and to contact me for professional osCommerce support that includes SEO development, custom development and security implementation

Link to comment
Share on other sites

Many thanks Peter!

 

Sergei

 

 

$info_box_contents[] = array('align' => 'left',
'text' => tep_image(DIR_WS_IMAGES . 'ABC.gif', '') .  '<a href="' . tep_href_link(FILENAME_ACCOUNT, '', 'SSL') . '">' LOGIN_BOX_MY_ACCOUNT . '</a><br><hr align=center size=1 width=100% color=dddddd>';

 

cheers,

Peter M

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...