<Directory /var/www/www.****.com.tw/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
AddDefaultCharset big5<=預設編碼
<Directory /var/www/www.****.com.tw/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
AddDefaultCharset big5<=預設編碼
sql server 列出資料庫中所有 table的筆數:
select o.name, i.rows
from sysobjects o inner join sysindexes i on o.id = i.id
where i.indid = 1
order by i.rows desc
function check_mail(){
re1 = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9])+$/;
if (re1.exec(document.form1.m_mail.value) == null)
{document.form1.msg.value="你的電子郵件格式不合!";}
else{document.form1.msg.value="";
}
在資料表規劃時,主鍵我們常常會使用自動編碼來產生;
但在新增完此筆資料時,總是需要將資料帶回編輯畫面;
讓使用者再次確認資料的正確性,可即時的修改;
這時就需要回傳,自動編碼的id;
以下例出參考的程式碼: