摘要:
1. 调用单个数据示例: $a = DB::result(DB::query("SELECT a FROM ".DB::table('abc')." WHERE id = '1'")); 2. 调用统计数据示例: $b = DB::result(DB::query("SELECT count(*) 阅读全文
摘要:
插入数据:INSERT INTO book VALUES(NULL, '细说php', '高洛峰');INSERT INTO book(bookname, author) VALUES('细说php', '高洛峰');查询数据:SELECT * FROM book;删除数据:DELETE FROM ... 阅读全文