1、插入数据$db-query(INSERT INTO .get_table($mid). ($sqlk) VALUES ($sqlv));$itemid = $db-insert_id();2、获取一条数据$r = $db-get_one(SELECt COUNT(*) AS num FROM #123;#36;table#125; WHERe $condition order by statid desc); if($r['num']0){ exit('
发布日期:2020-02-07 11:56:41 所属分类:MysqlCREATE DEFINER=`root`@`localhost` FUNCTION `fristPinyin`(`P_NAME` VARCHAr(255) CHARSET utf8) RETURNS varchar(255) CHARSET latin1 BEGIN DECLARE V_RETURN VARCHAr(255); SET V_RETURN = ELT(INTERVAL(CONv(HEx(left(CONVERT(P_NAME US
发布日期:2020-02-07 11:51:39 所属分类:Mysql