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

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

WBOY
WBOYOriginal
2016-06-13 10:07:341305browse

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

Statement:
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