iasky(iasky) :<?php include ("conn.php"); include ("func.php"); $sql="select username from usertable"; echo $sql; ?> 显示: select username from usertable..............无语了
$sql="insert into usertable(username,password) values('$username','$password')"; 把values('$username','$password')";把其中的单引号删掉.
include ("conn.php");
include ("func.php");
$sql="select username from usertable";
echo $sql;
?>
显示:
select username from usertable..............无语了
把values('$username','$password')";把其中的单引号删掉.