摘要: 1.查询sjcenter数据库里开头为sj_demo和sj_onlyinv的所有表的总条数 select sum(table_rows) from (select table_name,table_rows from tables where TABLE_SCHEMA = 'sjcenter' or 阅读全文
posted @ 2020-05-09 12:58 华诺 阅读(827) 评论(0) 推荐(0) 编辑
摘要: 一 、git Git 是目前世界上最先进的分布式版本控制系统。 二、工作原理 Workspace:工作区 Index / Stage:暂存区 Repository:仓库区(或本地仓库) Remote:远程仓库 操作 git init (把当前目录作为版本仓库) git config --global 阅读全文
posted @ 2020-05-09 12:43 华诺 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 连接数据库 <?php //var_dump($_GET); //准备dsn $dsn = 'mysql:host=localhost;dbname=数据库名;charset=utf8'; //连接数据库 try { $pdo = new PDO($dsn,'root',''); } catch ( 阅读全文
posted @ 2018-08-21 20:17 华诺 阅读(236) 评论(0) 推荐(0) 编辑
摘要: 思路 1.给tbody一个id=”shopList” 当进入购物车时如果有两个商品被勾选了,需要计算出总价钱 2.当手动勾选商品时,也要把相应的价格加到总价中去 3.给全选添加一个id=”checkAll”当勾选全部选中时,要计算所有商品的总价要注意的是:这个函数,当单选是也要触发,因为当全部商品都 阅读全文
posted @ 2018-08-21 20:16 华诺 阅读(197) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html > <html> <head> <meta charset="UTF-8"> <title>Document</title> <style> *{margin:0px;padding:0px;} #small{width:400px;height:300px;borde 阅读全文
posted @ 2018-08-21 20:10 华诺 阅读(115) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> <style> *{margin:0px;padding:0px;} #left{position:fixed;left:60 阅读全文
posted @ 2018-08-21 20:08 华诺 阅读(179) 评论(0) 推荐(0) 编辑
摘要: 步骤: 1.acl权限设置 2.修改apache进程执行者 3.修改samba的访问用户 4.用samba对apache网站根目录进行共享 5.在windows中用"映射网络驱动器"把linux下网站根目录映射到本地的磁盘中 6.确保php代码在linux下创建的目录或文件的权限适当 ****开始配 阅读全文
posted @ 2018-07-18 15:40 华诺 阅读(636) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> <style> *{margin:0px;padding:0px;} #left{position:fixed;left:60 阅读全文
posted @ 2018-07-16 16:49 华诺 阅读(102) 评论(0) 推荐(0) 编辑