Create a AppleID PHP Desktop center Create a database

Source: Internet
Author: User
This is the first time the younger brother wrote an article. I don't know if I can publish it. I write the procedure for you to refer to. If any master can change a better program,
Please don't forget to tell me. :P
Demo page of source program in elong.oso.com.cn/desk/
The first step is to create the database:
Let's take a look at the Oso database as a list.
Log in to the database first. Then at the point of your own database name, just on the left.
Enter the following command at the input command.
CREATE TABLE jpg (
ID Int (8) not NULL auto_increment,
URL char (255) is not NULL,
Mess char (+) not NULL,
FromX char () not NULL,
URL1 char (255) is not NULL,
Mess1 char (+) not NULL,
Fromx1 char () not NULL,
Url2 char (255) is not NULL,
Mess2 char (+) not NULL,
FROMX2 char () not NULL,
Url3 char (255) is not NULL,
MESS3 char (+) not NULL,
Fromx3 char () not NULL,
PRIMARY KEY (ID)
);
CREATE TABLE JPG1 (
ID Int (8) not NULL auto_increment,
URL char (255) is not NULL,
Mess char (+) not NULL,
FromX char () not NULL,
URL1 char (255) is not NULL,
Mess1 char (+) not NULL,
Fromx1 char () not NULL,
Url2 char (255) is not NULL,
Mess2 char (+) not NULL,
FROMX2 char () not NULL,
Url3 char (255) is not NULL,
MESS3 char (+) not NULL,
Fromx3 char () not NULL,
PRIMARY KEY (ID)
);
CREATE TABLE JPG2 (
ID Int (8) not NULL auto_increment,
URL char (255) is not NULL,
Mess char (+) not NULL,
FromX char () not NULL,
URL1 char (255) is not NULL,
Mess1 char (+) not NULL,
Fromx1 char () not NULL,
Url2 char (255) is not NULL,
Mess2 char (+) not NULL,
FROMX2 char () not NULL,
Url3 char (255) is not NULL,
MESS3 char (+) not NULL,
Fromx3 char () not NULL,
PRIMARY KEY (ID)
);
CREATE TABLE jpg3 (
ID Int (8) not NULL auto_increment,
URL char (255) is not NULL,
Mess char (+) not NULL,
FromX char () not NULL,
URL1 char (255) is not NULL,
Mess1 char (+) not NULL,
Fromx1 char () not NULL,
Url2 char (255) is not NULL,
Mess2 char (+) not NULL,
FROMX2 char () not NULL,
Url3 char (255) is not NULL,
MESS3 char (+) not NULL,
Fromx3 char () not NULL,
PRIMARY KEY (ID)
);
CREATE TABLE Jpg4 (
ID Int (8) not NULL auto_increment,
URL char (255) is not NULL,
Mess char (+) not NULL,
FromX char () not NULL,
URL1 char (255) is not NULL,
Mess1 char (+) not NULL,
Fromx1 char () not NULL,
Url2 char (255) is not NULL,
Mess2 char (+) not NULL,
FROMX2 char () not NULL,
Url3 char (255) is not NULL,
MESS3 char (+) not NULL,
Fromx3 char () not NULL,
PRIMARY KEY (ID)
);
These commands mean creating four tables to hold the data. This represents the four classes of a picture. If you want to add classes, you can add more tables and change the source program.

The above describes the creation of the AppleID PHP Desktop Center to create a database, including the creation of appleid aspects of the content, I hope to be interested in the PHP tutorial friends helpful.

  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.