php-code in input value field

Fredolino 24 Feb, 2017
Hi :-)

I have SimpleCart-Modul in Joomla 3.xx with 4 products (1 Woche, 2 Wochen, 4, Wochen, 1 Jahr)

this is the inputfield in Qellcode from the Modul default.php:
<input type="hidden" name="zeitraum" id="zeitraum" value="<?php echo $item->name;?>" class="item_name" />

I see this in quellcode with firebug, value is ok:
<input name="zeitraum" class="item_name" id="zeitraum" type="hidden" value="2 Wochen">

But the Debugger: [zeitraum] => 1 Jahr

Wat can the problem?
Thanx for help.
F.
GreyHead 24 Feb, 2017
Hi Fredolino ,

It's impossible to tell from the information here. Do you have two inputs with the same name?

Bob
This topic is locked and no more replies can be posted.