This is my codes using script, its a part of my codes, how can i put the var x into my VALUES in php, in the specified 'NULL' value?
enter code here
var x = document.getElementById("name_stop");
<?php require_once('dbconnect.php'); $result2=mysql_query("INSERT INTO log (status, code)VALUES('login','NULL')"); ?>