您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

laravel 模板view 中生成地址

2025/7/31 10:31:11发布26次查看
ahref=/site/contact?id={!! 1 !!}&name={!! 2 !!}>fdsafa>br>ahref={!! url('site/contact',['id'=>1,'name'=>2]) !!}>testa>
生成的地址如下:
ahref=/site/contact?id=1&name=2>fdsafa>br>ahref=http://localhost:8000/site/contact/1/2>testa>
url第二个参数并不是生
http://localhost:8000/site/contact/id/1/name/2
此时并不会跳到http://localhost:8000/site/contact
这个地址请求数据,而是报指不到
其它参考:
http://www.ekan001.com/articles/43
').addclass('pre-numbering').hide(); $(this).addclass('has-numbering').parent().append($numbering); for (i = 1; i ').text(i)); }; $numbering.fadein(1700); }); }); 以上就介绍了laravel 模板view 中生成地址,包括了方面的内容,希望对php教程有兴趣的朋友有所帮助。
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product