Table of Contents
php learning, a simple Calendar(1), php learning calendar
Home php教程 php手册 PHP learning, a simple Calendar(1), PHP learning calendar

PHP learning, a simple Calendar(1), PHP learning calendar

Jul 06, 2016 pm 02:25 PM
php

php learning, a simple Calendar(1), php learning calendar

The material is taken from in-depth PHP and JQuery development. This book actually tells an activity schedule.

This article is suitable for those who have switched from other languages ​​​​(such as java, C, python, etc.) to PHP, who have not systematically learned PHP, or who are PHP beginners and already have a deep understanding of the program

/*

1

Navicat MySQL Data Transfer

Copy after login

1

 

Copy after login
Copy after login
Copy after login
Copy after login

1

Source Server         : localhost_3306

Copy after login

1

Source Server Version : 50130

Copy after login

1

Source Host           : 127.0.0.1:3306

Copy after login

1

Source Database       : php-jquery_example

Copy after login

1

 

Copy after login
Copy after login
Copy after login
Copy after login

1

Target Server Type    : MYSQL

Copy after login

1

Target Server Version : 50130

Copy after login

1

File Encoding         : 65001

Copy after login

1

 

Copy after login
Copy after login
Copy after login
Copy after login

1

Date: 2016-06-19 16:54:29

Copy after login

1

 

Copy after login

1

CREATE DATABASE <span>IF</span> NOT EXISTS `php-jquery_example`

Copy after login

1

<span>DEFAULT</span> CHARACTER SET utf8

Copy after login

1

COLLATE utf8_unicode_ci<span>;</span>

Copy after login

1

<span>  </span>

Copy after login
Copy after login

1

<span>  </span>

Copy after login
Copy after login

1

<span>SET FOREIGN_KEY_CHECKS=0;</span>

Copy after login

1

&#160;

Copy after login
Copy after login
Copy after login
Copy after login

1

-- ----------------------------

Copy after login
Copy after login
Copy after login

1

-- Table structure <span>for</span> events

Copy after login

1

-- ----------------------------

Copy after login
Copy after login
Copy after login

1

DROP TABLE <span>IF</span> EXISTS `events`<span>;</span>

Copy after login

1

<span>CREATE TABLE `events` (</span>

Copy after login

1

`event_id` int(11) NOT NULL AUTO_INCREMENT,

Copy after login

1

`event_title` varchar(80) COLLATE utf8_unicode_ci <span>DEFAULT</span> NULL,

Copy after login

1

`event_desc` text COLLATE utf8_unicode_ci,

Copy after login

1

`event_start` timestamp NOT NULL <span>DEFAULT</span> '0000-00-00 00:00:00',

Copy after login

1

`event_end` timestamp NOT NULL <span>DEFAULT</span> '0000-00-00 00:00:00',

Copy after login

1

PRIMARY KEY (`event_id`),

Copy after login

1

KEY `event_start` (`event_start`)

Copy after login

1

) ENGINE=MyISAM AUTO_INCREMENT=3 <span>DEFAULT</span> CHARSET=utf8 COLLATE=utf8_unicode_ci<span>;</span>

Copy after login

1

<span></span>

Copy after login

1

<span>-- ----------------------------</span>

Copy after login

1

-- Records of events

Copy after login

1

-- ----------------------------

Copy after login
Copy after login
Copy after login

1

INSERT INTO `events` VALUES ('1', 'New Year&amp;<span>;#039;s Day', 'Happy New Year!', '2010-01-01 00:00:00', '2010-01-01 23:59:59');</span>

Copy after login

1

INSERT INTO `events` VALUES ('2', 'Last Day of January', 'Last day of the month!Yay!', '2010-01-31 00:00:00', '2010-01-31 23:59:59')<span>;</span>

Copy after login

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot Article Tags

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

CakePHP Date and Time CakePHP Date and Time Sep 10, 2024 pm 05:27 PM

CakePHP Date and Time

PHP 8.4 Installation and Upgrade guide for Ubuntu and Debian PHP 8.4 Installation and Upgrade guide for Ubuntu and Debian Dec 24, 2024 pm 04:42 PM

PHP 8.4 Installation and Upgrade guide for Ubuntu and Debian

CakePHP File upload CakePHP File upload Sep 10, 2024 pm 05:27 PM

CakePHP File upload

CakePHP Routing CakePHP Routing Sep 10, 2024 pm 05:25 PM

CakePHP Routing

Discuss CakePHP Discuss CakePHP Sep 10, 2024 pm 05:28 PM

Discuss CakePHP

CakePHP Project Configuration CakePHP Project Configuration Sep 10, 2024 pm 05:25 PM

CakePHP Project Configuration

CakePHP Quick Guide CakePHP Quick Guide Sep 10, 2024 pm 05:27 PM

CakePHP Quick Guide

How To Set Up Visual Studio Code (VS Code) for PHP Development How To Set Up Visual Studio Code (VS Code) for PHP Development Dec 20, 2024 am 11:31 AM

How To Set Up Visual Studio Code (VS Code) for PHP Development

See all articles