标签:
I. 创建表结构和测试数据 create table rooms(id int not null auto_increment, name varchar(100), primary key(id)); II.创建 controllers/RoomController.php:
在地址栏中输入: http://localhost/magento/index.php/hotel/room/listing, 页面将输出:
Royal Room
Standard Room |
标签:
原文地址:http://www.cnblogs.com/focai/p/4459602.html