注冊頁面實際上就是對users表添加記錄
http://develop
圖
具體代碼如下所示
<!
<?php require_once(
<?php
//連接數據庫
mysql_select_db($database_conn
$query_rs_config =
id=templates
$rs_config = mysql_query($query_rs_config
$row_rs_config = mysql_fetch_assoc($rs_config);
$totalRows_rs_config = mysql_num_rows($rs_config);
//文本字符串轉換
function GetSQLValueString($theValue
$theNotDefinedValue =
{
$theValue = (!get_magic_quotes_gpc()) ? addslashes($theValue) : $theValue;
switch ($theType)
{
case
$theValue = ($theValue !=
break;
}
return $theValue;
}
//兩次密碼輸入確認
if($_POST[
echo
}
right
From:http://tw.wingwit.com/Article/program/PHP/201311/21403.html