Home > Backend Development > PHP Tutorial > 不知道错哪了,快崩溃了

不知道错哪了,快崩溃了

WBOY
Release: 2016-06-13 13:13:00
Original
729 people have browsed it

不知道哪里错了,快崩溃了
$data1=stripslashes($data1);
$aar=strncasecmp($data1,"select",6);
$arr1=strncasecmp($data1,"insert",6);
if((arr!=0)&&(arr1!=0))
{
  echo "$arr";
  echo "
";
  echo "
";
  echo "$data1";
  echo "$arr1";
  echo "
";

  exit( "false to run sqlcript");
   
   
}

------解决方案--------------------

if(($aar!=0)&&($arr1!=0))
{
echo $aar;

名字你看叉了

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template