所以我在库中看到了这个CSS类:
[text-uppercase] {
text-transform: uppercase;
}
Run Code Online (Sandbox Code Playgroud)
而且我不确定如何在一个中使用它 div
<div class="text-uppercase | [text-uppercase]"></div>
Run Code Online (Sandbox Code Playgroud)
我试过了两个,但都没有工作.我在ionic2中看到了这一点.
我只是尝试使用如下路线加载视图:
route.php
Route::get("/page", function(){
return View::make("dir.page");
});
controller.php
View::make("/page");
Run Code Online (Sandbox Code Playgroud)
......并且抛出了一个错误.所以我的问题是:
是否可以通过视图加载路线,如果可能,那么如何?
谢谢.
请尝试在原始sql中运行看起来像这样的查询
SELECT COUNT(cntr) count, address,
description FROM resti GROUP BY cntr = HAVING count > 1
Run Code Online (Sandbox Code Playgroud)
在laravel.
我试过这个
DB::table("resti")
->select(DB::raw("COUNT(cntr) count, address, description"))
->groupBy("cntr")
->havingRaw("count > 1")
->get();
Run Code Online (Sandbox Code Playgroud)
但它给出了一些总误差.
我似乎遇到了一个我以前从未体验过的重大异常现象.
我有这个
<form id="form_exceller" enctype="multipart/file-data">
<div class="input-control file">
<input id="filei" name="filei" type="file" />
<button class="btn-file"></button>
</div>
</form>
Run Code Online (Sandbox Code Playgroud)
现在我打电话给你
$("#form_exceller").submit();
Run Code Online (Sandbox Code Playgroud)
在点击事件之后,它完美地工作,但是一旦我引入回调
$("#form_exceller").submit(function(e){
console.log("frustrating");
});
Run Code Online (Sandbox Code Playgroud)
之后没有任何事情发生 它刚刚死了.在没有回调时触发它的相同点击事件在具有回调时不能触发它.
非常感谢我能得到的任何帮助.
谢谢
我只是想知道是否有人知道测试Laravel Query Builder输出并进行试验的方法。
例如,在PHPMYADMIN中,您可以运行并测试不同的SQL查询,并查看错误以及所有错误,然后再决定在代码中使用它。可以使用Laravels查询生成器完成此操作吗?有谁知道任何有用的工具来测试查询生成器的输出?
谢谢。