Hab mal ne Frage habe ein kleines Problem mit meinem Shop ich möchte jeden Radiobutton mit einer anderen Variable aus einer anderen Datei verknüpfen. z.B.
Wenn Radiobutten 1 gedrückt wird soll aus der cfg_general.inc.php die Variable $cfgShippingCosts[0]['radio'] = "2.00"; herhalten sollte Radiobutton 2 gedrückt werden halt $cfgShippingCosts[0]['radio'] = "5.00";
wie bekomme ich das mit php hin z.B.
<?
IF Radiobutton1 gedrückt dann mache aus der
cfg_general.inc.php
$cfgShippingCosts[0]['radio'] = "2.00";
usw...
basket_table.tpl
<form name="xxCustomer[versand]" action="" method="POST">
<input type="radio" name="Zahlmethode" value="2"> City <br>
<input type="radio" name="Zahlmethode" value="2"> Umgebung <br>
<input type="radio" name="Zahlmethode" value="3"> Postversand <br>
<input type="radio" name="Zahlmethode" value="4"> Tierspedition
</form>
cfg_general.inc.php
$cfgShippingCosts[0]['radio'] = "2.00";
$cfgShippingCosts[0]['radio'] = "5.00";
$cfgShippingCosts[0]['radio'] = "6.90";
$cfgShippingCosts[0]['radio'] = "19.00";
kann mir da wer helfen ??