var $ username需要檢查匹配項。我怎樣才能做到這一點?在PhP/MySQL中匹配字符串
進展:
if (isset($_GET["username"]) && !empty($_GET["username"]))
{
$username = $_GET['username'];
$usercheck = mysql_query("SELECT * FROM wp_users WHERE user_login=".$username."",$con);
closeCursor($usercheck);
爲了清楚起見,額外要點我欣賞解決方案。 – 2010-12-05 06:45:20