Code Monkey home page Code Monkey logo

jiasuqi's Introduction

简述

之前写了一个加速器项目,由PHP计算机语言编写,开源

代码

首先是数据库 打开 phpmyadmin 数据库控制面板,然后创建一个新的数据库,找到 SQL 这个选项,然后把代码复制粘贴,执行

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";

CREATE TABLE `user` (
  `ID` int(11) NOT NULL,
  `UserName` text NOT NULL,
  `PassWord` text NOT NULL,
  `Info` text NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

ALTER TABLE `user`
  ADD PRIMARY KEY (`ID`);

ALTER TABLE `user`
  MODIFY `ID` int(11) NOT NULL AUTO_INCREMENT;

另一种方式 文件导入 shujuku.sql

编辑数据库文件,位于 ./GongNeng/ShuJuKu.php localhost 是数据库地址 root 是数据库用户名 "" 填写数据库用户名密码 jiasuqi 是选择的数据库

<?php
    $lianJie = mysqli_connect("localhost", "root", "", "jiasuqi");
    // 提示数据库状态
    if ($lianJie) {
        // echo "数据库就绪";
    } else {
        echo "数据库错误";
    }
?>

效果图

首页 01

注册 02

登录 03

数据 04

jiasuqi's People

Contributors

wxilejun avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.