摘要:
function unique(arr) { var result = [], hash = {}; for (var i = 0, elem; (elem = arr[i]) != null; i++) { if (!hash[elem]) { result.push(elem); hash[el 阅读全文
摘要:
insert into news(id,title,Ncontent,newsUrl)value(id,'我是标题','我是内容','chanyeguihua.html'); SET @id= last_insert_id(); update news set newsUrl =replace(newsUrl,'.html',concat(@id,'.html')) where id=@id; ... 阅读全文