首页
友链
关于
留言
更多
统计
图库
Search
1
【PHP】一款带后台的简约风个人导航
318 阅读
2
【APP】wakeup课程表
235 阅读
3
win11安装WSA运行安卓应用
171 阅读
4
升级win11啦
156 阅读
5
宝塔插件免付费使用
139 阅读
点滴记录
学习笔记
SQL Server
JAVA
资源分享
相关教程
所见所闻
登录
/
注册
Search
标签搜索
APP
PHP
IAPP
html
windows 11
MySQL
博客日记
学习
一言
教程分享
防火墙
Linux
服务器
hosts
WSA
css
每日60s
积木
SQL
homeassistant
执念
累计撰写
30
篇文章
累计收到
45
条评论
首页
栏目
点滴记录
学习笔记
SQL Server
JAVA
资源分享
相关教程
所见所闻
页面
友链
关于
留言
统计
图库
搜索到
8
篇与
学习笔记
的结果
2022-04-03
T-SQL语句创建数据库
T-SQL语句创建数据库 CREATE DATABASE <数据库名> ON ( NAME = "<数据库逻辑名>", FILENAME = "<数据库路径>", SIZE = <数据库初始大小>, MAXSIZE = <数据库最大容量>, FILEGROWTH = <数据库增长系数> ) LOG ON ( NAME = '<数据库日志文件逻辑名>', FILENAME = '数据库日志文件路径', SIZE = <数据库日志文件初始大小>, MAXSIZE = <数据库日志文件最大容量>, FILEGROWTH = <数据库日志文件增长系数> ) T-SQL语句创建数据库实例 CREATE DATABASE xxgl ON ( NAME = 'xxgl', FILENAME = 'C:\database\xxgl.mdf', SIZE = 5, MAXSIZE = 20, FILEGROWTH = 1 ) LOG ON ( NAME = 'xxgl_log', FILENAME = 'C:\database\xxgl_log.ldf', SIZE = 5, MAXSIZE = 20, FILEGROWTH = 1 )
2022年04月03日
27 阅读
0 评论
2 点赞
2022-02-14
PHP向MySQL数据库中添加数据
PHP向MySQL数据库中添加数据链接数据库,可查看 PHP链接MySQL数据库进行代码编写向数据库中添加数据/* *数据库链接变量为 $conn *数据库表名为 users */ $add = mysqli_query($conn,"INSERT INTO users (user,pass,name,qq,email,sign,gold,exp,ctime) VALUES ($user,'$pass','$name',$qq,'$email','$sign',$gold,$exp,$ctime)"); //向数据库中添加注册信息 if(!$add/*判断数据是否添加成功*/){ echo(errmsg("注册失败,请稍后再试")); //数据添加失败 } else { echo(errmsg("恭喜,注册成功")); //数据添加成功 }
2022年02月14日
21 阅读
0 评论
1 点赞
2022-02-09
PHP链接MySQL数据库
PHP链接MySQL数据库{card-describe title="MySQL数据库信息"}数据库地址:localhost数据库用户名:root数据库密码:123456{/card-describe}{card-describe title="PHP代码"}<?php $dbhost = "localhost"; $dbname = "zhnian" $dbuser = "root"; $dbpass = "123456" require_once('../../config.php'); $conn = mysqli_connect($dbhost,$dbuser,$dbpass); if(!$conn){ echo("数据库连接失败"); die; } mysqli_select_db($conn,$dbname); //选择数据库 mysqli_query($conn,"set names utf8"); //设置字符集编码{/card-describe}
2022年02月09日
122 阅读
3 评论
3 点赞
Web课程作业
学校布置的作业学校布置的作业,要求做一个自定义主题的多页面网站,于是做了这个网站,大家可以参考一下,虽然没什么技术含量,毕竟也没学多长时间 :@(吐血倒地)页面相关截图{tabs}{tabs-pane label="1"}{/tabs-pane}{tabs-pane label="2"}{/tabs-pane}{tabs-pane label="3"}{/tabs-pane}{tabs-pane label="4"}{/tabs-pane}{tabs-pane label="5"}{/tabs-pane}{tabs-pane label="6"}{/tabs-pane}{tabs-pane label="7"}{/tabs-pane}{tabs-pane label="8"}{/tabs-pane}{tabs-pane label="9"}{/tabs-pane}{tabs-pane label="10"}部分页面效果可以下载源码查看{/tabs-pane}{/tabs}隐藏内容,请前往内页查看详情
2021年12月01日
88 阅读
1 评论
1 点赞
2021-10-30
Web上机课作业记录-第九周
页面效果截图{tabs}{tabs-pane label="首页"}{/tabs-pane}{tabs-pane label="登录页"}{/tabs-pane}{tabs-pane label="注册页"}{/tabs-pane}{/tabs}代码记录{tabs}{tabs-pane label="index.html"}<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title>主页</title> </head> <body> <center><h1>您还没有登录</h1></center> <center><h4><a href="./login.html">立即登录</a></h4></center> </body> </html> {/tabs-pane}{tabs-pane label="login.html"}<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <link rel="stylesheet" type="text/css" href="./css/style.css" /> <title>登录</title> </head> <body> <div id="left"> <img src="./img/login.png" width="80%"> </div> <div id="right"> <h2 align="center">登录</h2> <form action="" method=""> <p class="text"> <img src="./img/user.png" width="25px"> <input type="text" name="user" id="user" value="" placeholder="请输入您的账号"/> </p> <p class="text"> <img src="./img/pass.png" width="25px"> <input type="password" name="pass" id="pass" value="" placeholder="请输入您的密码"/> </p> <p> <center><input type="submit" id="log" name="log" value="登 录" /></center> </p> </form> <p style="margin-top: 135px;"> <a href="./reg.html" style="text-decoration: none; color: black; margin-left: 20px;">立即注册</a> <a href="#" style="text-decoration: none; color: black; float: right; margin-right: 20px;">忘记密码</a> </p> </div> </body> </html> {/tabs-pane}{tabs-pane label="reg.html"}<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <link rel="stylesheet" type="text/css" href="./css/style.css" /> <title>登录</title> </head> <body> <div id="left"> <img src="./img/login.png" width="80%"> </div> <div id="right"> <h2 align="center">注册</h2> <form action="" method=""> <p class="text"> <img src="./img/user.png" width="25px"> <input type="text" name="user" id="user" value="" placeholder="请输入您的账号"/> </p> <p class="text"> <img src="./img/pass.png" width="25px"> <input type="password" name="pass" id="pass" value="" placeholder="请输入您的密码"/> </p> <p> <center><input type="submit" id="log" name="log" value="注 册" /></center> </p> </form> <p style="margin-top: 135px;"> <a href="./login.html" style="text-decoration: none; color: black; margin-left: 20px;">立即登录</a> <a href="./index.html" style="text-decoration: none; color: black; float: right; margin-right: 20px;">返回首页</a> </p> </div> </body> </html> {/tabs-pane}{tabs-pane label="style.css"}#left{width: 70%; float: left; text-align: center; margin-top: 90px;} #right{width: 25%; float: left; margin: 30px; margin-top: 90px; background-color: #EFF1F9; border: 15px; border-radius: 10px;} .text{height: 35px; background-color: #E9E5DF; border-radius: 5px; width: 80%; margin: auto; margin-bottom: 35px; border: 1px solid darkgray;} .text img{margin: 5px; margin-bottom: 0px; float: left;} #user{width: 80%; height: 33px; border: none; background-color: #E9E5DF; float: left;} #pass{width: 80%; height: 33px; border: none; background-color: #E9E5DF; float: left;} #user input:focus{border: none;} #log{width: 50%; font-size: large; border: none; background-color: #A0A4C3; padding: 5px; color: white;}{/tabs-pane}{/tabs}代码有亿点点乱,页面有亿点点丑
2021年10月30日
46 阅读
0 评论
5 点赞
1
2