Jump to content

simple image link problem


vote-for-pedro

Recommended Posts

the code below is for a search box with an image as the submit button (button_quick_find.gif).

how can i change it so instead of an image, the word search is the submit link?

 

  <?php $hide = tep_hide_session_id(); 
echo '<form name="quick_find" method="get" action="' . tep_href_link (FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false) . '">';
echo $hide . '<input  type="text"  name="keywords" size="15" maxlength="30" value="' . htmlspecialchars(StripSlashes(@$HTTP_GET_VARS["keywords"])) . '"> ' . tep_image_submit('button_quick_find.gif', BOX_HEADING_SEARCH);
echo '</form>'; 
?>

Link to comment
https://forums.phpfreaks.com/topic/65439-simple-image-link-problem/
Share on other sites

Archived

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

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.