小编Ann*_*Mae的帖子

如何将变量从javascript变为php变量?

这是我的代码使用脚本,它是我的代码的一部分,我怎么能把var xVALUES的PHP,在指定的' NULL'值?

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')");  ?>
Run Code Online (Sandbox Code Playgroud)

html javascript php variables

-1
推荐指数
1
解决办法
73
查看次数

标签 统计

html ×1

javascript ×1

php ×1

variables ×1