Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

echo tep_draw_form - need help please


Shay

Recommended Posts

I have added this code to the index.php:

echo tep_draw_form('max_search', tep_href_link(basename($PHP_SELF), tep_get_all_get_params(), $request_type, false), 'get');

$max_search_array = array('50','10','20');

echo tep_draw_pull_down_menu('smax', $max_search_array, $smax, 'onChange="this.form.submit();"') . $hidden_get_variables . tep_hide_session_id();

 

I have 2 problems.

1. the combo box will display only 5,1,2 and not 50,10,20

2. when I go to a category and change the value, the url path is not saved the cPath value.

 

Can someone help with it please.

 

Thanks,

Shay

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...