Problem vidim pravdepodobne ve skladani retezcu. Mel by ti pomoci takovyto zapis.



<?php
echo '<script>
window.location.href="www.domena.com/formular/?loanAmount=' . $castka . '&email=' ....