Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Change a text field to a select list?


MJP

Recommended Posts

Posted

I'm trying to change a text field to a select list (to list quantities such as 1,2,3,4 etc..)

I can change this to a select list but it's not working right. Anyone have any idea how to do this?

(this code is from Product Multi contrib)

 

$lc_text = '<input type="text" name="add_id['.$number_of_products.']" value="0" size="1">';

$lc_text .= '<input type="hidden" name="products_id['.$number_of_products.']" value="'.$listing['products_id'].'">';

Archived

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

×
×
  • Create New...