不管怎么做验证码总是报错,而且有如下报错代码,大神们求解
<?php
require_once '../include.php';
$username=$_POST['username'];
// $username=addslashes($username);
$password=md5($_POST['password']);
$verify=$_POST['verify']; //7
$verify1=$_SESSION['verify'];//8
$autoFlag=$_POST['autoFlag'];
if($verify==$verify1){
$sql="select * from imooc_admin where username='{$username}' and password='{$password}'";
$row=checkAdmin($sql);
print_r($row);
if($row){