上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 28 下一页
摘要: <!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>index</title> <style> *{ font-family: 微软雅黑; } </style> </head> <body> <form acti 阅读全文
posted @ 2020-12-27 22:30 大熊童鞋 阅读(279) 评论(0) 推荐(0) 编辑
摘要: <!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>index</title> <style> *{ font-family: 微软雅黑; } </style> </head> <body> <h1 id='hi 阅读全文
posted @ 2020-12-27 22:03 大熊童鞋 阅读(1265) 评论(0) 推荐(0) 编辑
摘要: <!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>index</title> <style> *{ font-family: 微软雅黑; } </style> </head> <body> <h1 id='hi 阅读全文
posted @ 2020-12-27 22:01 大熊童鞋 阅读(77) 评论(0) 推荐(0) 编辑
摘要: $categoods1 = M()->db(2,'a')->table('yp_goods')->field( 'goods_thumb,goods_video')->where($map)->select(); 查询goods_thumb,goods_video 用到了field and查询 $U 阅读全文
posted @ 2020-12-21 14:35 大熊童鞋 阅读(2127) 评论(0) 推荐(0) 编辑
摘要: <?php return array( //‘配置项‘=>‘配置值‘ //缓存 //‘DATA_CACHE_TYPE‘ => ‘Memcache‘, //‘MEMCACHE_HOST‘ => ‘tcp://192.168.0.227:11211‘, //‘DATA_CACHE_TIME‘ => ‘3 阅读全文
posted @ 2020-12-21 14:02 大熊童鞋 阅读(396) 评论(0) 推荐(0) 编辑
摘要: <body>//方法一 <form action="03-post-file.php" method="post" enctype="multipart/form-data"> <!-- enctype="multipart/form-data" 必须给form表单指定该属性,否则上传不了文件 -- 阅读全文
posted @ 2020-12-20 21:34 大熊童鞋 阅读(954) 评论(0) 推荐(0) 编辑
摘要: <?php echo date('Y-m-d H:i:s',strtotime('now'));//当前时间戳 2017-01-09 21:04:11 echo date('Y-m-d H:i:s',strtotime('+1second'));//当前时间戳+1秒 2017-01-09 21:04 阅读全文
posted @ 2020-12-19 23:47 大熊童鞋 阅读(432) 评论(0) 推荐(0) 编辑
摘要: $sql =" insert erj_money_dj set usermoney=:usermoney,sellmoney=:sellmoney,status=:status,msg=:msg "; //创建预处理对象 $stmt = $pdo->prepare($sql); //绑定参数 $da 阅读全文
posted @ 2020-12-19 20:11 大熊童鞋 阅读(95) 评论(0) 推荐(0) 编辑
摘要: $pdo = new PDO("mysql:host=$servername;dbname=$dbname", $username, $password); //准备SQL语句,占位符我们不再用?,用"命名占位符" $sql="update erj_user set freeze_money=:fr 阅读全文
posted @ 2020-12-19 11:56 大熊童鞋 阅读(257) 评论(0) 推荐(0) 编辑
摘要: $pdo = new PDO("mysql:host=$servername;dbname=$dbname", $username, $password); //返回一个PDOstatement结果集对象 $result= $pdo->query("SELECT user_id,buy_id,num 阅读全文
posted @ 2020-12-19 11:41 大熊童鞋 阅读(239) 评论(0) 推荐(0) 编辑
上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 28 下一页