Re: Newbie need
On Wed, 13 Feb 2008 19:48:48 +0100, a-c-h <info@plasmarecords.com> wrote:
> Hi Rik
>
> I tried this:
> <td class="productListing-data"><?php echo TEXT_ENTER_QUANTITY;?> :
> <?php echo
> tep_draw_checkbox_field('sub_products_qty[]',
> '1','size="5"') . tep_draw_hidden_field('sub_products_id[]',
> $sub_products['products_id']);;?></td>
>
> In the list of products, it doesn't work properly.
'does not work properly' is not an error description I can do anything
with.
> Is there a way first to define <input type> and then add the code?
> Please only pay attention to this part: <?php echo
> tep_draw_checkbox_field('sub_products_qty[]',
> '1','size="5"')
tep_draw_checkbox_field() is not a PHP function, so you'll have to ask the
people who made Cre Loaded. Myself, I'd just have the field in raw HTML
instead of using a function.
--
Rik Wasmus
|