商城后台 登录验证这一节 这段代码和老师写的一样 不知道为什么验证码验证失败?
<?php
require_once '../include.php';
session_start();
$username=$_POST['username'];
$password=MD5($_POST['password']);
$verify=$_POST['verify'];
$verify1=$_SESSION['verify'];
if ($verify==$verify1){
$sql="select*from imooc_admin where username='{$us
<?php
require_once '../include.php';
session_start();
$username=$_POST['username'];
$password=MD5($_POST['password']);
$verify=$_POST['verify'];
$verify1=$_SESSION['verify'];
if ($verify==$verify1){
$sql="select*from imooc_admin where username='{$us