希望可以咁(亂作)
例子:
- 代碼: 選擇全部
<?php
include 'mtr_route.class.php';
$route = new mtr_route;
$route->image_format = 'png';
$route->direction = 'straight:top-to-bottom';
$route->name = '咩咩綫';
$route->color = '255, 0, 0';
$route->add_station('中環', 'Central');
$route->add_station('太古', 'Tai Ko');
...
?>