毛宏钢

导航

2019年7月16日 #

封装CURD

摘要: 1 table('stree')->where(['name'=>'四六级分数']); 7 // 8 //$data=$db->get(); 9 10 //添加 11 12 //$arr=$db->table('stree')->insert(['name'=>'四六级分数','email'=>'124fsdag']); 13 14 15 //var_dump... 阅读全文

posted @ 2019-07-16 14:46 毛宏钢 阅读(234) 评论(0) 推荐(0) 编辑

百度地图

摘要: 1 query("select * from ditu where city='$city'")->fetch(); 6 7 ?> 1 2 3 4 5 Document 6 7 8 "> 9 "> 10 11 12 13 14 15 16 28 29 30 31 32 33 34 1 query("select * from ... 阅读全文

posted @ 2019-07-16 14:45 毛宏钢 阅读(87) 评论(0) 推荐(0) 编辑

excel导入

摘要: 一:引入导入得内部文件以及数据导入 二:HTLML数据展示部分 阅读全文

posted @ 2019-07-16 14:43 毛宏钢 阅读(67) 评论(0) 推荐(0) 编辑

大文件合成

摘要: HTML提交文件 PHP合成文件 阅读全文

posted @ 2019-07-16 14:41 毛宏钢 阅读(132) 评论(0) 推荐(0) 编辑

QQ登陆

摘要: QQ第三方登陆调用接口实现 阅读全文

posted @ 2019-07-16 14:40 毛宏钢 阅读(171) 评论(0) 推荐(0) 编辑

excel库中数据下载

摘要: PHP实现EXCEL下载数据 阅读全文

posted @ 2019-07-16 14:37 毛宏钢 阅读(102) 评论(0) 推荐(0) 编辑

原生CURD

摘要: <?phpheader("content-type:text/html;charset=utf8");$link=mysqli_connect("127.0.0.1","root","","1611a");mysqli_query($link,"set names utf8");$page=isse 阅读全文

posted @ 2019-07-16 14:34 毛宏钢 阅读(80) 评论(0) 推荐(0) 编辑

PDO事务

摘要: 转账的事务部分 阅读全文

posted @ 2019-07-16 14:31 毛宏钢 阅读(126) 评论(0) 推荐(0) 编辑

图片水印

摘要: <?phpnamespace app\index\controller; use think\Controller;use think\Db; class Index extends Controller{ public function index() { return view(); } fun 阅读全文

posted @ 2019-07-16 14:30 毛宏钢 阅读(116) 评论(0) 推荐(0) 编辑

微信小程序

摘要: // pages/books/books.jsvar page=1;const app=getApp();Page({ /** * 页面的初始数据 */ data: { }, kd:function(e){ let id=e.currentTarget.dataset.id wx.navigateT 阅读全文

posted @ 2019-07-16 14:24 毛宏钢 阅读(113) 评论(0) 推荐(0) 编辑

YII框架微信公众号

摘要: <?phpnamespace backend\controllers; use yii\db\Query;use yii\web\Controller;use Yii;class Exam2Controller extends Controller{ public $enableCsrfValida 阅读全文

posted @ 2019-07-16 14:19 毛宏钢 阅读(340) 评论(0) 推荐(0) 编辑

简易聊天室

摘要: 一:PHP服务端,通过liunx服务器运行 二:客户端访问聊天室 阅读全文

posted @ 2019-07-16 14:11 毛宏钢 阅读(243) 评论(0) 推荐(0) 编辑