I have also this probs to pass a variable :
Code: Select all
<?php
$ip=$_POST['ip'];
?>
<script>
............
var unbinding = document.getElementById('unbind');
unbinding.innerHTML = '<iframe src="http://xxxxx/binding-off.php?ipclient=$ip" "width="1" height="1"></iframe>';
.......
</script>
Thanks in advance.
brasileottanta