摘要: 多表操作(实际开发推荐,平常上课做的实验不这样做也行) 多表设计 1.一对多(多对一) 2.多对多 3.一对一 一对多--外键 创建表的时候 create table 表名( [constraint] [外键名称] foreign key(外键字段名) references 主表 (字段名) ); 阅读全文
posted @ 2024-02-06 09:57 许七安gyg 阅读(4) 评论(0) 推荐(0) 编辑
$(document).ready(function() { // 禁止右键 $(document).bind("contextmenu", function(){return false;}); // 禁止选择 $(document).bind("selectstart", function(){return false;}); // 禁止Ctrl+C 和Ctrl+A $(document).keydown(function(event) { if ((event.ctrlKey&&event.which==67) || (event.ctrlKey&&event.which==86)) { //alert("对不起,版权所有,禁止复制"); return false; } }); });