I need to loop through specific fields in a form, and get the total. It works perfectly but after I updated to https and it fails.
part code:
foreach ($arr_sq as $value) { if (empty($_POST[$value])) { $$value="0"; } else { $$value= $_POST[$value]; $total1=$total1+$_POST[$value]; - here is where is fails } }
Any advice?
Thank you and regardsRichard