26
rated 0 times
[
29]
[
3]
/ answers: 1 / hits: 35091
/ 11 Years ago, thu, october 3, 2013, 12:00:00
I would like to send 'ID' to JS function then send the same ID again from JS function to php function.
Please tell me what is the wrong in my code!
<script type=text/javascript>
function deleteclient(ID){ //I receive the ID correctly until now!
var x = <?php deleteclient11('ID');?>;
return false;
}
</script>
<?php
function deleteclient11($x)
{
echo $x;
}
?>
More From » php