I have a JS variable which holds the value of a PHP variable.
<script>
var xxxx = "<?= $v2 ?>";
</script>
I also have a form which points to superman.php
<form action="superman.php" method="get" target="_blank">
I need to amend superman.php so that it holds:
values from elements in the form
and the javascript variable too
How do I achieve this?
Thank you.