agiftcodotcom Posted May 17, 2004 Posted May 17, 2004 Let me see if I can explain this right. I need this code... ' . tep_image_button('navi_account.gif', IMAGE_BUTTON_ACCOUNT) . ' To be used as the button (instead of "Account" text") for this code... <a href="<?php echo tep_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>" class="headerbutton">Account</a> I already have a code that does this for my "home" link... <?php echo '<a href="index.php">' . tep_image_button('navi_home.gif', IMAGE_BUTTON_INDEX) . '</a>'; ?> But I see that it starts with: <?php echo '<a href=" :and the other starts with: <a href="<?php... I know nothing about HTML, so I'm not sure why one href is outside and the other is inside. But, basically, I need the top button code to be able to work with the second link code. If possible :blink: Contributions I used : Updated 06-13-04 23:42 ---------------- Vote on My Graphis Poll
bluepony Posted May 17, 2004 Posted May 17, 2004 They are basically the same. The first just puts the entire anchor in a string, the second only inserts what is needed into the anchor. I belive this should do what you want: <a href="<?php echo tep_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>" class="headerbutton"><?php tep_image_button('navi_account.gif', IMAGE_BUTTON_ACCOUNT); ?></a> I'd rather be flying!
agiftcodotcom Posted May 17, 2004 Author Posted May 17, 2004 :D :D :D Actually, I figured it out shortly after this post!! I'm amazed I figured it out. (simple mind). PHP is still a foriegn language to me :blink: Thank you for your help though :) Contributions I used : Updated 06-13-04 23:42 ---------------- Vote on My Graphis Poll
Recommended Posts
Archived
This topic is now archived and is closed to further replies.