<?php
include ("dbconn.php");
$str = "select tel from gb where username = $_POST[sousuoname] ";
$resu = mysql_query($str, $link);
$ee = @mysql_fetch_row($resu);
$es = @mysql_num_rows($resu);
?>
include ("dbconn.php");
$str = "select tel from gb where username = $_POST[sousuoname] ";
$resu = mysql_query($str, $link);
$ee = @mysql_fetch_row($resu);
$es = @mysql_num_rows($resu);
?>
改成这样:
$str = "select tel from gb where username = '$_POST[sousuoname]' ";