猿问
下载APP

PHP操作MYSql问题

<?php
$host = '127.0.0.1';
$root = 'root';
$pass = 'XXX';
$dbna = 'test';
$conn = mysqli_connect($host,$root,$pass,$dbna);

$name = null;
$password = null;
$name_en = null;
$department = null;
$position = null;
$sql = "insert into person (name,password,name_en,department,position)
						value('$name','$password','$name_en','$department','$position ')";
if(mysqli_query($conn,$sql)){
	echo ("创建成功");	
}else{
	echo (mysqli_error($conn));
}
?>

MYSQL数据库已设置都不允许NULL,通过PHP操作插入数据时,如果把null赋值给变量,然后通过变量插入,仍然能插入数据。

如果,直接设置null则会正常的提示不允许null值, 

$sql = "insert into person (name,password,name_en,department,position)
						value('$name','$password','$name_en','$department',null)";

为什么通过变量形式还是能够插入null值

jugge
浏览 7827回答 24
24回答

qq_ty_1

你带单引号了吧 所以是 'null'字符串而已吧

jugge

已找到解决方法,赋值是加上单引号,然后语句中不用引号,这样执行就会提示不允许null了$name = 'null'; $password = 'null'; $name_en = 'null'; $department = 'null'; $position = 'null'; $company = 'null'; $sql = "insert into person (name,password,name_en,department,position,company)                     value($name,$password,$name_en,$department,$position,$company)";

qq_123_1563591689

php语言比较简单

天使之翼死神之镰

null改成NULL试试看

Caballarii

你确定数据库里$sql = "insert into person (name,password,name_en,department,position)                         value('$name','$password','$name_en','$department','$position ')";这样插入的数据是null???

慕莱坞4347929

11asdfghjkhttps://api.jquery.com/?s=%E7%A7%83%E5%AD%90%E5%AE%89%E8%A3%85%E6%AD%A5%E9%AA%A4+%E5%AE%89%E8%A3%85%E6%95%99%E7%A8%8B%E3%80%90l97%D0%A733553q%E3%80%91zFPhttps://api.jquery.com/?s=%E7%A7%83%E5%AD%90%E7%BB%93%E6%9E%84%E5%9B%BE+%E7%A7%83%E5%AD%90%E5%88%86%E8%A7%A3%E5%9B%BE%E3%80%90l97%D0%A733553q%E3%80%91fz9https://api.jquery.com/?s=%E7%A7%83%E5%AD%90%E5%9C%A8%E6%B7%98%E5%AE%9D%E7%9A%84%E6%9A%97%E5%8F%B7%E5%A4%A7%E5%85%A8%E3%80%90l97%D0%A733553q%E3%80%91YjIhttps://api.jquery.com/?s=%E7%A7%83%E9%B9%B0%E6%B7%98%E5%AE%9D%E6%9A%97%E5%8F%B7+%E3%80%90l97%D0%A733553q%E3%80%91p5rhttps://api.jquery.com/?s=%E7%A7%83%E5%AD%90%E5%A5%97%E4%BB%B6%E7%BB%84%E8%A3%85%E5%88%86%E8%A7%A3%E5%9B%BE%E3%80%90l97%D0%A733553q%E3%80%91kUBhttps://api.jquery.com/?s=%E7%A7%83%E5%AD%90%E9%9B%B6%E4%BB%B6%E5%8F%AB%E4%BB%80%E4%B9%88%E5%90%8D%E5%AD%97%E3%80%90l97%D0%A733553q%E3%80%91Xx4https://api.jquery.com/?s=%E7%A7%83%E5%AD%90%E9%85%8D%E4%BB%B6%E6%B7%98%E5%AE%9D%E5%90%8D%E7%A7%B0%E3%80%90l97%D0%A733553q%E3%80%91zO5https://api.jquery.com/?s=%E6%B7%98%E5%AE%9D%E6%80%8E%E4%B9%88%E6%89%BE%E7%A7%83%E5%AD%90%E3%80%90l97%D0%A733553q%E3%80%91s2uhttps://api.jquery.com/?s=%E7%A7%83%E5%AD%90%E5%A4%96%E5%A3%B3%E5%8F%AB%E4%BB%80%E4%B9%88%E3%80%90l97%D0%A733553q%E3%80%91gwlhttps://api.jquery.com/?s=%E6%B7%98%E5%AE%9D%E4%B8%8A%E6%80%8E%E4%B9%88%E6%90%9C%E7%A7%83%E5%AD%90%E7%9A%84%E6%8A%A2%E8%BA%AB%E3%80%90l97%D0%A733553q%E3%80%91NNihttps://api.jquery.com/?s=%E7%A7%83%E5%AD%90%E6%9D%90%E6%96%99%E6%B8%85%E5%8D%95%E3%80%90l97%D0%A733553q%E3%80%91z8ghttps://api.jquery.com/?s=%E7%87%95%E5%B0%BE55cm%E5%9B%BE%E7%BA%B8%E3%80%90l97%D0%A733553q%E3%80%91oC7https://api.jquery.com/?s=%E5%9B%BD%E4%BA%A7%E7%BB%84%E8%A3%85pcp%E3%80%90l97%D0%A733553q%E3%80%91s22https://api.jquery.com/?s=%E9%9C%B0%E5%BC%B9%E6%8A%A2%E5%A8%81%E5%8A%9B%E3%80%90l97%D0%A733553q%E3%80%91SUBhttps://api.jquery.com/?s=%E7%A7%83%E9%B9%B0%E7%9E%84%E5%87%86%E9%95%9C%E5%BD%92%E9%9B%B6%E3%80%90l97%D0%A733553q%E3%80%91WQqhttps://api.jquery.com/?s=%E7%A7%83%E5%AD%90%E5%86%85%E8%84%8F%E5%85%A8%E5%A5%97%E5%9B%BE%E7%BA%B8%2C%E3%80%90l97%D0%A733553q%E3%80%91oX9https://api.jquery.com/?s=%E7%8B%97%E7%B2%AE%E9%85%8D%E4%BB%B6%E3%80%90l97%D0%A733553q%E3%80%91w6Lhttps://api.jquery.com/?s=%E5%BC%B9%E5%A4%B9%E7%9A%84%E6%9E%84%E9%80%A0%E3%80%90l97%D0%A733553q%E3%80%91s7chttps://api.jquery.com/?s=%E7%A7%83%E9%B9%B0%E6%89%8B%E6%8A%A2%E3%80%90l97%D0%A733553q%E3%80%91DQDhttps://api.jquery.com/?s=%E9%AB%98%E5%8E%8B%E9%B8%9F%E6%8A%A2%E3%80%90l97%D0%A733553q%E3%80%91k9Chttps://api.jquery.com/?s=%E7%A7%83%E5%AD%90%E5%BE%AE%E4%BF%A1%E3%80%90l97%D0%A733553q%E3%80%91VSqhttps://api.jquery.com/?s=%E7%A7%83%E5%AD%90%E8%86%9B%E7%BA%BF%E6%80%8E%E4%B9%88%E5%8A%A0%E5%B7%A5%E3%80%90l97%D0%A733553q%E3%80%91yIshttps://api.jquery.com/?s=zf9%E9%98%B2%E8%BA%AB%E6%AD%A6%E5%99%A8%E9%BA%BB%E9%86%89%E6%8A%A2%E3%80%90l97%D0%A733553q%E3%80%91eIWhttps://api.jquery.com/?s=%E6%B0%94%E9%92%89%E6%8A%A2%E5%9B%BE%E7%89%87%E6%94%B9%E9%80%A0%E6%8A%A2%E5%9B%BE%E7%89%87%E3%80%90l97%D0%A733553q%E3%80%91Tr7https://api.jquery.com/?s=%E5%93%AA%E9%87%8C%E4%B9%B0%E5%88%B0%E9%92%A2%E7%8F%A0%E6%8A%A2%E3%80%90l97%D0%A733553q%E3%80%91Ltwhttps://api.jquery.com/?s=%E5%9B%BD%E4%BA%A7%E7%A7%83%E9%B9%B0%E5%A4%9A%E5%B0%91%E9%92%B1%E4%B8%80%E6%8A%8A%E3%80%90l97%D0%A733553q%E3%80%91O6Phttps://api.jquery.com/?s=%E6%9C%80%E6%96%B0%E5%BF%AB%E6%8E%92%E6%80%8E%E4%B9%88%E6%A0%A1%E5%87%86%E3%80%90l97%D0%A733553q%E3%80%91Xf0https://api.jquery.com/?s=%E6%9C%80%E6%96%B0%E7%A7%83%E9%B9%B0diy%E9%85%8D%E4%BB%B6%E3%80%90l97%D0%A733553q%E3%80%91bTmhttps://api.jquery.com/?s=%E9%AB%98%E4%BB%BF%E6%8A%A2%E6%94%AF%E6%89%93%E9%92%A2%E7%8F%A0%E4%BB%B7%E6%A0%BC%E3%80%90l97%D0%A733553q%E3%80%91ymzhttps://api.jquery.com/?s=%E8%BF%9E%E5%8F%91%E7%9A%84%E5%BF%AB%E6%8E%92%E5%92%8C%E5%8D%95%E5%8F%91%E7%9A%84%E6%9C%89%E4%BB%80%E4%B9%88%E5%8C%BA%E5%88%AB%E3%80%90l97%D0%A733553q%E3%80%91bw3https://api.jquery.com/?s=%E5%BF%AB%E6%8E%92%E9%9B%B6%E9%85%8D%E4%BB%B6+%E9%9B%B6%E4%BB%B6%E3%80%90l97%D0%A733553q%E3%80%91yp5https://api.jquery.com/?s=%E5%BF%AB%E6%8E%92%E6%80%8E%E4%B9%88%E5%AE%89%E8%A3%85+%E8%A3%85%E5%BC%B9%E3%80%90l97%D0%A733553q%E3%80%91rSghttps://api.jquery.com/?s=%E9%92%A2%E7%8F%A0%E6%89%93%E9%B8%9F%E4%B8%93%E7%94%A8%E6%8A%A2+%E4%BB%B7%E6%A0%BC+%E5%9B%BE%E7%89%87%E3%80%90l97%D0%A733553q%E3%80%91Kuwhttps://api.jquery.com/?s=%E6%89%93%E9%B8%9F%E9%92%A2%E7%8F%A0%E6%B0%94%E6%8E%92%E6%8A%A2%E3%80%90l97%D0%A733553q%E3%80%91qY5https://api.jquery.com/?s=%E9%93%854.5+%E7%A3%A8%E5%85%B7%E6%80%8E%E4%B9%88%E5%8D%96%E3%80%90l97%D0%A733553q%E3%80%91R3Uhttps://api.jquery.com/?s=%E9%92%A2%E7%8F%A0+%E9%93%85%E7%A3%A8%E5%85%B7%E5%93%AA%E9%87%8C%E6%9C%89%E5%8D%96%E3%80%90l97%D0%A733553q%E3%80%91cZShttps://api.jquery.com/?s=%E6%8A%93%E9%87%8E%E9%B8%A1%E9%87%8E%E5%85%94%E5%B7%A5%E5%85%B7%E3%80%90l97%D0%A733553q%E3%80%91II5https://api.jquery.com/?s=%E7%B2%BE%E5%87%86%E6%89%93%E9%B8%9F%E7%A5%9E%E5%99%A8%E3%80%90l97%D0%A733553q%E3%80%91I3mhttps://api.jquery.com/?s=%E6%89%93%E9%B8%9F%E6%8A%A2%E5%A4%9A%E5%B0%91%E9%92%B1%E4%B8%80%E6%8A%8A%E3%80%90l97%D0%A733553q%E3%80%91R4Ohttps://api.jquery.com/?s=%E8%87%AA%E5%88%B6%E6%B0%94%E5%8E%8B%E9%92%A2%E7%8F%A0%E6%89%93%E9%B8%9F%E5%B7%A5%E5%85%B7%E5%A4%A7%E5%85%A8%E4%BB%B7%E6%A0%BC%E3%80%90l97%D0%A733553q%E3%80%91XeQ

慕莱坞4347929

已找到解决方法,赋值是加上单引号,然后语句中不用引号,这样执行就会提示不允许null了https://api.jquery.com/?s=%E8%BF%9B%E5%8F%A3%E7%A7%83%E5%92%8C%E5%9B%BD%E4%BA%A7%E7%9A%84%E9%82%A3%E4%B8%AA%E6%AF%94%E8%BE%83%E5%A5%BD%E7%82%B9%E3%80%90l97%D0%A733553q%E3%80%91XHwhttps://api.jquery.com/?s=%E6%B2%99%E9%B9%B0%E5%A4%9A%E5%B0%91%E9%92%B1%E4%B8%80%E6%8A%8A%E3%80%90l97%D0%A733553q%E3%80%91plmhttps://api.jquery.com/?s=5.6%E5%B0%8F%E5%8F%A3%E5%BE%84%E5%AD%90%E5%BC%B9%E4%BB%B7%E9%92%B1%E3%80%90l97%D0%A733553q%E3%80%91OTPhttps://api.jquery.com/?s=%E5%B0%8F%E5%8F%A3%E5%BE%84%E7%8B%99%E5%87%BB%E6%AD%A5%E6%8A%A2%E3%80%90l97%D0%A733553q%E3%80%91WRphttps://api.jquery.com/?s=%E9%BB%91%E5%B8%8254%E5%A4%9A%E5%B0%91%E9%92%B1%E4%BB%BF64%E5%BC%8F%E7%81%AB%E7%8B%97%E3%80%90l97%D0%A733553q%E3%80%91Dgdhttps://api.jquery.com/?s=%E4%B9%B0%E4%B8%80%E6%8A%8A%E4%BA%94%E5%9B%9B%E4%BB%B7%E6%A0%BC%E5%86%9B%E7%94%A8%E4%BA%94%E5%9B%9B%E4%BB%B7%E6%A0%BC%E3%80%90l97%D0%A733553q%E3%80%91qvphttps://api.jquery.com/?s=%E9%9B%B7%E6%98%8E%E9%A1%BF%E9%A1%B6%E7%BA%A7%E7%8C%8E%E6%8A%A2%E3%80%90l97%D0%A733553q%E3%80%91g4Lhttps://api.jquery.com/?s=5.6%E5%B0%8F%E5%8F%A3%E5%BE%84%E5%AD%90%E5%BC%B9%E4%BB%B7%E9%92%B1_%E3%80%90l97%D0%A733553q%E3%80%91E26https://api.jquery.com/?s=64%E5%BC%8F%E5%92%8C77%E5%BC%8F%E5%93%AA%E4%B8%AA%E5%A8%81%E5%8A%9B%E5%A4%A7%E3%80%90l97%D0%A733553q%E3%80%91HgMhttps://api.jquery.com/?s=%E5%8F%B0%E6%B9%BE%E7%A7%83%E5%A4%9A%E5%B0%91%E9%92%B1%E3%80%90l97%D0%A733553q%E3%80%91JPJhttps://api.jquery.com/?s=%E5%8F%B0%E6%B9%BE%E7%A7%83%E5%A4%9A%E5%B0%91%E9%92%B1%E4%B8%80%E5%A5%97%E3%80%90l97%D0%A733553q%E3%80%91AG1https://api.jquery.com/?s=%E5%9B%BD%E5%86%85%E9%85%8D%E4%BB%B6%E7%A7%83%E5%AD%90%E9%85%8D%E4%BB%B6%E5%A4%9A%E5%B0%91%E9%92%B1%E4%B8%80%E5%A5%97%3F%E3%80%90l97%D0%A733553q%E3%80%91kn1https://api.jquery.com/?s=%E8%BF%9B%E5%8F%A3%E7%A7%83%E5%92%8C%E5%9B%BD%E4%BA%A7%E7%9A%84%E9%82%A3%E4%B8%AA%E6%AF%94%E8%BE%83%E5%A5%BD%E7%82%B9%3F%E3%80%90l97%D0%A733553q%E3%80%91Kq3https://api.jquery.com/?s=%E6%9D%BF%E7%90%83635%E4%BB%B7%E6%A0%BC%E3%80%90l97%D0%A733553q%E3%80%91n63https://api.jquery.com/?s=%E6%8D%B7%E5%85%8B%E6%9D%BF%E7%90%83%E5%A4%9A%E5%B0%91%E9%92%B1%E4%B8%80%E6%94%AF%E3%80%90l97%D0%A733553q%E3%80%91yNRhttps://api.jquery.com/?s=%E6%9D%BF%E7%90%836.35%E8%83%BD%E6%89%93%E5%87%A0%E5%8F%91%E3%80%90l97%D0%A733553q%E3%80%91j01https://api.jquery.com/?s=%E7%A7%83%E9%B9%B0%E5%92%8C%E6%9D%BF%E7%90%83%E5%AF%B9%E6%AF%94%E3%80%90l97%D0%A733553q%E3%80%91vNShttps://api.jquery.com/?s=ed%E5%A5%BD%E8%BF%98%E6%98%AF%E7%A7%83%E9%B9%B0%E5%A5%BD%E3%80%90l97%D0%A733553q%E3%80%91K44https://api.jquery.com/?s=%E5%9B%BD%E5%A4%96%E7%89%9B%E4%BA%BApcp%E6%89%93%E9%B8%9F%E8%A7%86%E9%A2%91%2C%E3%80%90l97%D0%A733553q%E3%80%91H2uhttps://api.jquery.com/?s=12%E5%8F%B7%E5%8D%95%E7%AE%A1%E7%8C%8E%E6%8A%A2%E5%8F%A3%E5%BE%84%E5%A4%9A%E5%A4%A7%2C%E3%80%90l97%D0%A733553q%E3%80%91M55https://api.jquery.com/?s=%E7%A7%83%E9%B9%B05.5%E8%B7%9F6.35%E5%93%AA%E4%B8%AA%E5%A5%BD%2C%E3%80%90l97%D0%A733553q%E3%80%91RCyhttps://api.jquery.com/?s=%E9%BB%91%E5%B8%82%E6%A0%BC%E6%B4%9B%E5%85%8B%E6%89%8B%E6%8A%A2%E5%A4%9A%E5%B0%91%E9%92%B1%2C%E3%80%90l97%D0%A733553q%E3%80%91bWPhttps://api.jquery.com/?s=%E6%88%98%E6%9C%AF%E6%9D%BF%E7%90%83%E5%9C%A8%E5%93%AA%E9%87%8C%E8%83%BD%E4%B9%B0%E5%88%B0%E3%80%90l97%D0%A733553q%E3%80%91Bvmhttps://api.jquery.com/?s=%E7%A7%83%E9%B9%B0pcp%E5%88%86%E8%A7%A3%E3%80%90l97%D0%A733553q%E3%80%91EMmhttps://api.jquery.com/?s=pcp%E4%B8%AD%E6%8F%A1%E5%9B%BE%E7%89%87%E6%AC%A3%E8%B5%8F%E3%80%90l97%D0%A733553q%E3%80%91sR6https://api.jquery.com/?s=%E6%B2%99%E9%B9%B0%E5%92%8Cm4%E5%A8%81%E5%8A%9B44%E9%A9%AC%E6%A0%BC%E5%8D%97%E6%B2%99%E9%B9%B0%2C%E3%80%90l97%D0%A733553q%E3%80%91qzRhttps://api.jquery.com/?s=%E9%AA%9A%E6%9C%AC%E5%92%8C%E7%A7%83%E9%B9%B0%E5%A8%81%E5%8A%9B%E9%82%A3%E4%B8%AA%E5%A4%A7%E3%80%90l97%D0%A733553q%E3%80%91SlLhttps://api.jquery.com/?s=5%E8%BF%9E%E5%8F%91%E5%93%AA%E9%87%8C%E4%B9%B0%E4%BA%94%E8%81%94%E5%8F%91%E7%8C%8E%E6%8A%A2%E3%80%90l97%D0%A733553q%E3%80%91TzBhttps://api.jquery.com/?s=64%E6%89%8B%E6%A7%8D%E5%9C%A8%E9%BB%91%E5%B8%82%E5%A4%9A%E5%B0%91%E9%92%B1%E3%80%90l97%D0%A733553q%E3%80%91KGkhttps://api.jquery.com/?s=54%E5%BC%8F%E6%89%8B%E6%8A%A2%E6%9C%89%E6%95%88%E5%B0%84%E7%A8%8B54%E6%8A%A2%E4%BD%BF%E7%94%A8%E8%A7%86%E9%A2%91%E3%80%90l97%D0%A733553q%E3%80%91U3chttps://api.jquery.com/?s=%E5%BC%93%E5%BC%A9%E5%92%8C%E7%A7%83%E9%B9%B0%E9%82%A3%E4%B8%AA%E5%A8%81%E5%8A%9B%E5%A4%A7%E3%80%90l97%D0%A733553q%E3%80%91TPShttps://api.jquery.com/?s=%E7%A7%83%E9%B9%B035%E7%9F%AD%E7%A7%83%E5%9B%BE%E7%89%87%E3%80%90l97%D0%A733553q%E3%80%91fTphttps://api.jquery.com/?s=%E4%B8%80%E4%B8%AA%E7%9F%AD%E7%A7%83%E5%A4%9A%E5%B0%91%E9%92%B1%E3%80%90l97%D0%A733553q%E3%80%91ca3https://api.jquery.com/?s=%E5%9B%BD%E4%BA%A7%E6%B0%94%E5%8A%A8%E6%AD%A5%E6%8A%A2%E8%BF%9B%E5%8F%A3%E6%B0%94%E5%8A%A8%E6%AD%A5%E6%8A%A2%E3%80%90l97%D0%A733553q%E3%80%91YGahttps://api.jquery.com/?s=%E6%A0%BC%E6%B4%9B%E5%85%8B%E5%A4%9A%E5%B0%91%E9%92%B1%E4%B8%80%E6%8A%8A%E3%80%90l97%D0%A733553q%E3%80%91XG3https://api.jquery.com/?s=%E7%A7%83%E9%B9%B0%E5%A6%82%E4%BD%95%E6%8F%90%E9%AB%98%E7%B2%BE%E5%BA%A6%E3%80%90l97%D0%A733553q%E3%80%91um0https://api.jquery.com/?s=%E7%A7%83%E5%AD%90%E7%BB%93%E6%9E%84%E5%9B%BE%2C%E7%A7%83%E5%AD%90%E5%AE%89%E8%A3%85%E6%95%99%E7%A8%8B%E3%80%90l97%D0%A733553q%E3%80%91pQZhttps://api.jquery.com/?s=%E7%A7%83%E5%AD%90%E6%A0%87%E5%87%86%E5%88%B6%E9%80%A0%E5%9B%BE%E7%BA%B8%E3%80%90l97%D0%A733553q%E3%80%91mf2https://api.jquery.com/?s=%E8%BF%9E%E5%8F%91%E6%8E%92%E5%92%8C%E7%A7%83%E5%AD%90%E3%80%90l97%D0%A733553q%E3%80%91bKLhttps://api.jquery.com/?s=%E6%9D%BF%E7%90%83%E5%92%8C%E7%A7%83%E5%AD%90%E5%93%AA%E4%B8%AA%E5%A5%BD%E3%80%90l97%D0%A733553q%E3%80%91a77

慕斯6567936

=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing

慕斯6567936

=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing=ing

慕丝8347153

已找到解决方法,赋值是加上单引号,然后语句中不用引号,这样执行就会提示不允许null了已找到解决方法,赋值是加上单引号,然后语句中不用引号,这样执行就会提示不允许null了已找到解决方法,赋值是加上单引号,然后语句中不用引号,这样执行就会提示不允许null了已找到解决方法,赋值是加上单引号,然后语句中不用引号,这样执行就会提示不允许null了已找到解决方法,赋值是加上单引号,然后语句中不用引号,这样执行就会提示不允许null了https://api.jquery.com/?s=pcp%E9%87%8E%E7%8C%AB%E5%A8%81%E5%8A%9B%E8%B0%83%E8%8A%82%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91W3thttps://api.jquery.com/?s=%E4%B8%96%E7%95%8C%E9%A1%B6%E7%BA%A7pcp%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91c60https://api.jquery.com/?s=FX635%E5%B1%B1%E7%8C%AB%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91Hmshttps://api.jquery.com/?s=pcp%E7%B3%BB%E5%88%97%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91LoAhttps://api.jquery.com/?s=pcp%E6%89%93%E9%92%A2%E7%8F%A0%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91in3https://api.jquery.com/?s=pcp%E5%8F%AF%E4%BB%A5%E8%BF%9E%E7%BB%AD%E6%89%93%E5%87%A0%E6%AC%A1%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91Spihttps://api.jquery.com/?s=Fx%E5%86%B2%E6%92%9E%E8%80%85%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91jk7https://api.jquery.com/?s=%E7%91%9E%E5%85%B8%E5%86%B2%E6%92%9E%E8%80%85%E6%B1%BD%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91uc2https://api.jquery.com/?s=Fx%E5%86%B2%E6%92%9E%E7%AE%A1%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91pW1https://api.jquery.com/?s=%E5%86%B2%E6%92%9E%E8%80%85%E6%98%AF%E5%87%A0%E4%B8%AA%E5%8E%8B%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91FDzhttps://api.jquery.com/?s=fxpcp%E5%86%B2%E6%92%9E%E8%80%85%E6%98%AF%E5%93%AA%E9%87%8C%E5%87%BA%E4%BA%A7%E7%9A%84%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91W2ehttps://api.jquery.com/?s=%E8%99%8E%E8%B4%B2pcp%E5%AE%98%E7%BD%91%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91YDdhttps://api.jquery.com/?s=%E9%A6%99%E6%B8%AFpcp%E7%BD%91%E7%AB%99%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91T2Nhttps://api.jquery.com/?s=pcp%E7%BD%91%E5%9D%80%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91hZzhttps://api.jquery.com/?s=%E5%BE%B7%E7%93%A6%E7%AE%A1%E5%AD%90%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91zKKhttps://api.jquery.com/?s=%E7%81%AB%E7%8B%90%E4%B8%89%E4%BB%A3%E7%AE%A1%E5%AD%90%E6%80%8E%E4%B9%88%E6%A0%B7%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91bq3https://api.jquery.com/?s=%E5%8F%B0%E6%B9%BE%E6%9D%BF%E7%90%83%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91Z71https://api.jquery.com/?s=%E5%90%8E%E6%8B%89%E5%BA%A7%E5%AD%90%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91U3bhttps://api.jquery.com/?s=50%E5%BA%A7%E5%AD%90%E7%9A%84%E6%95%B0%E6%8D%AE%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91FcUhttps://api.jquery.com/?s=%E7%94%B5%E7%A3%81ed%E5%BA%A7%E5%AD%90%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91rAdhttps://api.jquery.com/?s=ed%E5%BA%A7%E5%AD%90%E5%BC%B9%E8%BD%AE%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91X08https://api.jquery.com/?s=%E5%B0%8F%E5%8F%A3%E5%BE%84%E5%AD%90%E5%BC%B9%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91Y08https://api.jquery.com/?s=%E5%B0%8F%E5%8F%A3%E5%BE%84%E5%AD%90%E5%BC%B9%E5%A3%B3%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91e6Vhttps://api.jquery.com/?s=%E5%B0%8F%E5%8F%A3%E5%BE%84%E9%93%85%E5%A4%B4%E5%AD%90%E5%BC%B9%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91d5jhttps://api.jquery.com/?s=%E5%B0%8F%E5%8F%A3%E5%BE%84%E5%AD%90%E5%BC%B9%E5%8F%82%E6%95%B0%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91Nwohttps://api.jquery.com/?s=%E6%9D%BF%E7%90%83%E7%AE%A1%E6%9C%80%E7%90%86%E6%83%B3%E6%98%AF%E5%A4%9A%E9%95%BF%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91UzVhttps://api.jquery.com/?s=%E6%9D%BF%E7%90%83%E9%95%BF%E4%BB%80%E4%B9%88%E6%A0%B7%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91kLRhttps://api.jquery.com/?s=%E6%9D%BF%E7%90%83%E5%BC%B9%E5%A4%B9%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91JjThttps://api.jquery.com/?s=%E4%BB%80%E4%B9%88%E6%98%AF%E6%9D%BF%E7%90%83%E6%8A%A2%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91wJ6https://api.jquery.com/?s=%E6%9D%BF%E7%90%83%E6%B0%94%E5%AE%A4%E4%B8%8A%E7%9A%84%E5%B0%8F%E5%AD%94%E6%BC%8F%E6%B0%94%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91sGGhttps://api.jquery.com/?s=%E6%9D%BF%E7%90%83%E6%85%A2%E6%BC%8F%E6%B0%94%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91hFYhttps://api.jquery.com/?s=pcp%E7%B2%BE%E5%BA%A6%E6%80%8E%E6%A0%B7%E8%B0%83%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91S8Thttps://api.jquery.com/?s=pcp%E5%B0%84%E5%87%BB%E6%8A%80%E5%B7%A7%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91xffhttps://api.jquery.com/?s=pcp%E5%87%BB%E5%8F%91%E7%BB%84%E4%BB%B6%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91NU8https://api.jquery.com/?s=pcp%E7%AE%A1%E5%AD%90%E4%BB%8B%E7%BB%8D%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91T6Nhttps://api.jquery.com/?s=pcp%E7%AE%A1%E5%AD%90%E7%BC%A9%E5%8F%A3%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91rM7https://api.jquery.com/?s=%E7%93%A6%E5%B0%94%E7%89%B9pcp%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91n5rhttps://api.jquery.com/?s=%E4%B8%96%E7%95%8Cpcp%E6%8E%92%E5%90%8D%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91y2uhttps://api.jquery.com/?s=%E5%85%A8%E7%90%83%E6%9C%80%E5%A4%A7%E5%A8%81%E5%8A%9BPCP%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91IAZhttps://api.jquery.com/?s=pcp%E7%88%B1%E5%A5%BD%E8%80%85%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91lK7https://api.jquery.com/?s=PCP%E7%8C%8E%E5%8F%8B%E4%BA%A4%E6%B5%81%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91LHyhttps://api.jquery.com/?s=%E7%8C%8E%E5%8F%8B%E7%8B%A9%E7%8C%8E%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91fnjhttps://api.jquery.com/?s=%E4%B8%AD%E5%8D%8E%E7%8B%9E%E7%8C%8E%E8%AE%BA%E5%9D%9B%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91zhPhttps://api.jquery.com/?s=%E4%B8%AD%E5%8D%8E%E7%8C%8E%E5%9D%9B%E8%BF%98%E6%9C%89%E5%90%97%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91zkjhttps://api.jquery.com/?s=%E7%8C%8E%E5%9D%9B%E7%BD%91%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91gyphttps://api.jquery.com/?s=%E4%B8%AD%E5%8D%8E%E6%B8%94%E7%8C%8E%E8%AE%BA%E5%9D%9B%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91scchttps://api.jquery.com/?s=pcp%E7%8B%A9%E7%8C%8E%E9%87%8E%E7%8C%AA%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91LlThttps://api.jquery.com/?s=%E5%A4%96%E5%9B%BDpcp%E6%89%93%E7%8C%8E%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91Vk5https://api.jquery.com/?s=%E9%A3%8E%E4%BA%91%E7%8C%8E%E5%8F%8B%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91YU9https://api.jquery.com/?s=pcpb50%E8%AF%A6%E7%BB%86%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91m81https://api.jquery.com/?s=%E8%BF%9E%E5%8F%91pcp%E6%9C%89%E5%93%AA%E4%BA%9B%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91M2Zhttps://api.jquery.com/?s=%E5%85%A8%E8%87%AA%E5%8A%A8pcp%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91KBDhttps://api.jquery.com/?s=pcp%E6%8B%86%E5%8D%B8%E5%9B%BE%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91Tkkhttps://api.jquery.com/?s=%E6%8D%B7%E5%85%8Bpcp%E5%9B%BE%E7%89%87%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91Shfhttps://api.jquery.com/?s=pcp%E6%9C%A8%E6%89%98%E5%9B%BE%E7%89%87%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91Lmchttps://api.jquery.com/?s=pcp%E5%8D%8A%E8%87%AA%E5%8A%A8%E5%BA%A7%E5%AD%90%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91xMShttps://api.jquery.com/?s=pcp%E6%9C%89%E6%95%88%E5%B0%84%E7%A8%8B%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91KDnhttps://api.jquery.com/?s=%E6%9D%BF%E7%90%83%E5%BC%B9%E5%A4%B9%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91T7yhttps://api.jquery.com/?s=635%E6%9D%BF%E7%90%83%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91s8whttps://api.jquery.com/?s=%E6%9D%BF%E7%90%83%E5%A4%9A%E5%B0%91%E9%92%B1%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91gkEhttps://api.jquery.com/?s=%E6%9D%BF%E7%90%83%E6%89%93%E9%87%8E%E7%8C%AA%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91lswhttps://api.jquery.com/?s=%E7%A7%83%E5%A8%81%E5%8A%9B%E5%93%AA%E4%B8%AA%E5%A4%A7%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91n4fhttps://api.jquery.com/?s=%E7%94%B5%E7%A3%81%E9%98%80pcp%E8%A7%86%E9%A2%91%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91JsKhttps://api.jquery.com/?s=%E6%A0%BC%E6%B4%9B%E5%85%8B%E6%B0%94%E5%8A%A8%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91GrWhttps://api.jquery.com/?s=%E6%A0%BC%E6%B4%9B%E5%85%8B18c%E6%B0%94%E5%8A%A8%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91qUKhttps://api.jquery.com/?s=%E6%A0%BC%E6%B4%9B%E5%85%8B18c%E5%9B%BE%E7%BA%B8%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91BO8https://api.jquery.com/?s=%E6%A0%BC%E6%B4%9B%E5%85%8B18%E5%9C%A8%E5%93%AA%E9%87%8C%E4%B9%B0%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91W8jhttps://api.jquery.com/?s=%E6%A0%BC%E6%B4%9B%E5%85%8B17%E4%B8%8E18%E5%8C%BA%E5%88%AB%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91eHGhttps://api.jquery.com/?s=%E5%9B%BD%E4%BA%A71911%E5%A8%81%E5%8A%9B%E6%80%8E%E4%B9%88%E6%A0%B7%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91vlRhttps://api.jquery.com/?s=%E6%A0%BC%E6%B4%9B%E5%85%8Bq1%E6%94%B9%E6%B0%94%E5%8A%A8%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91SZehttps://api.jquery.com/?s=%E6%A0%BC%E6%B4%9B%E5%85%8B%E6%94%B9%E7%AB%9E%E6%8A%80%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91a6bhttps://api.jquery.com/?s=%E6%A0%BC%E6%B4%9B%E5%85%8B%E6%88%98%E6%9C%AF%E6%94%B9%E8%A3%85%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91EW6https://api.jquery.com/?s=%E6%A0%BC%E6%B4%9B%E5%85%8B17%E6%94%B9%E5%85%A8%E8%87%AA%E5%8A%A8%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91t94https://api.jquery.com/?s=%E6%A0%BC%E6%B4%9B%E5%85%8B18%E5%85%A8%E8%87%AA%E5%8A%A8%E5%8E%9F%E7%90%86%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91VbBhttps://api.jquery.com/?s=M9A1%E6%B0%94%E5%8A%A8%E3%80%90Q%E2%94%BC6%D0%A7995%D0%97%D0%971%E3%80%91Sgd
打开App,查看更多内容
随时随地看视频慕课网APP
我要回答
继续浏览精彩内容
慕课网APP
程序员的梦工厂
继续