我有我的index.php文件下面的代码 <?php
$name = $_GET['name'];
$id = rand(0,100); // i need a unique id from the name than random
?>
我想要做的是,当有人提供他们的姓名,0和100之间的唯一数字ID应该显示。刷新页面后不应更改。如果用户提供名称“John”,id应该是“99”(或任何
我想要做的事情应该很简单。 我想将一些表单值发布到返回JSON的mvc控制器。 如果我成功了,我会显示一个弹出窗口,如果我弄错了,我会显示另一个弹出窗口。 但在控制台中我得到两个错误: Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end u