Home > php教程 > php手册 > PHP+Mysql+jQuery+fullcalendar实现的微型公司内部订餐系统(1/8)

PHP+Mysql+jQuery+fullcalendar实现的微型公司内部订餐系统(1/8)

WBOY
Release: 2016-06-13 10:07:34
Original
1340 people have browsed it

PHP+Mysql+jQuery+fullcalendar实现的微型公司内部订餐系统
本文涉及到的插件: jQuery, jQuery.UI, fullcalendar

数据库教程创建:

CREATE TABLE USER
(
  ID INT PRIMARY KEY AUTO_INCREMENT,
  NAME VARCHAR(100)
);

CREATE TABLE ITEM
(
  ID INT PRIMARY KEY AUTO_INCREMENT,
  USER_ID INT,
  FOOD TINYBOLB,
  ORDER_TIME TIMESTAMP
);

ALTER TABLE ITEM ADD FOREIGN KEY(USER_ID) REFERENCES USER(ID) ON DELETE CASCADE;


一个实体的基类, 封装的不太好: Entity.php教程

PHP code 1 2 3 4 5 6 7 8

source:php.cn
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
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template