I run query in another page and pass ID through ajax and got my solution
<script>
function myFunction(msg)
{
$.ajax
({
type: "POST",
url: "updatefile.php?id="+msg
});
}
</script>
solved Run MySql Query when color box open
I run query in another page and pass ID through ajax and got my solution
<script>
function myFunction(msg)
{
$.ajax
({
type: "POST",
url: "updatefile.php?id="+msg
});
}
</script>
solved Run MySql Query when color box open