亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

The calculation of addition, subtraction, multiplication and division in this chapter
phpcn_u17776
phpcn_u17776 2017-08-27 11:25:18
0
1
1701

In this chapter I create 4 addition, subtraction, multiplication and division equations. If the route is not set, there will always be a page error, but if the routing rules are set in the route, addition, subtraction, multiplication, and division can be performed and displayed. Why is this?

This is the addition I intercepted

<?php

namespace app\index\controller;

class Demon{

public function add($n,$m){

return $n.' '.$m.'='.($n $m);

}

}

If the route is not set in route, there will always be a page error. But if I set the route

think\Route::get('add/:n/:m','index/demon/add');

, the addition can be displayed. I have repeatedly tested the path using other expressions, and there is no problem?

phpcn_u17776
phpcn_u17776

reply all(1)
大家講道理

You will understand once you understand routing. The method request is the location of the routing settings. There must be something wrong if you follow the video and write the route or not

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template