0

i am trying to get the result in php with JavaScript variable

document.getElementById("pm").innerHTML = +getValue('printermodel'); 

its working fine with below one.

<div id="pm"></div>

now i want to get the result in php

<?php $result=$_GET['pm'];
echo $result;
?>

0 Answers0