• 2022-06-11
    $stu_no 是从修改学生表单中获得的学号,$stu_get是从地址栏中获得中带修改的学生的学号参数。请将下面判断修改后的学号是否有重复的代码用补充完整。 $sql="select * from student where stu_no_____'$stu_no' and stu_no______'$stu_get'"; $result1=mysqli_query($conn,$sql) ; if(mysqli_num_rows($result1)_____0) { die("[script]alert('该学号重复,请重新输入!');history.go(-1);[/]") ; [br][/br] }
  • 举一反三