BadMethodCallException in Builder.php line 2508: 求助各位大佬 这是啥问题
2018-04-23
Call to undefined function IlluminateEncryptionopenssl_encrypt()解决办法:
检查php.ini中;extension=php_openssl.dll是否存在, 如果存在的话去掉前面的注释符‘;’, 如果不存在这行,那么添加extension=php_openssl.dll。
检查php.ini中;extension=php_openssl.dll是否存在, 如果存在的话去掉前面的注释符‘;’, 如果不存在这行,那么添加extension=php_openssl.dll。
2018-04-21
laravel5.2 Route.php中会自动加载web中间件重写了session,清空了flash设置的session,所以with传值过不去. 所以去掉web中间件就能传值过去了
2018-04-20
<label class="radio-inline">
<input type="radio" name="Student[sex]" value="30" @if(isset(old('Student')['sex'])) {{ old('Student')['sex']=='30'?'checked':'' }} @endif> 女
</label>
<input type="radio" name="Student[sex]" value="30" @if(isset(old('Student')['sex'])) {{ old('Student')['sex']=='30'?'checked':'' }} @endif> 女
</label>
2018-04-16
<div class="col-sm-5">
@foreach($student->sex() as $ind=>$value)
<label class="radio-inline">
<input type="radio" name="Student[sex]" value={{$ind}}
@if(old('Student')['sex']==$ind)
checked
@endif
>{{$value}}
</label>
@endforeach
</div>
@foreach($student->sex() as $ind=>$value)
<label class="radio-inline">
<input type="radio" name="Student[sex]" value={{$ind}}
@if(old('Student')['sex']==$ind)
checked
@endif
>{{$value}}
</label>
@endforeach
</div>
2018-04-12
->>>>>redio取旧值,补充
<div class="col-sm-5">
<label class="radio-inline">
<input type="radio" name="Student[sex]" value="10"
@if(old('Student')['sex'] == 10)
checked
@endif
> 未知
</label>
......
......
</div>
<div class="col-sm-5">
<label class="radio-inline">
<input type="radio" name="Student[sex]" value="10"
@if(old('Student')['sex'] == 10)
checked
@endif
> 未知
</label>
......
......
</div>
2018-04-12
Sorry, the page you are looking for could not be found.
2018-04-09
FatalErrorException in Container.php line 1074:
Maximum function nesting level of '100' reached, aborting!
Maximum function nesting level of '100' reached, aborting!
2018-04-09
报这个
TokenMismatchException in VerifyCsrfToken.php line 67:
TokenMismatchException in VerifyCsrfToken.php line 67:
2018-04-09
关于with传参问题,我发现那个函数名必须是response,如果不是,就没法传过去。还有就是,我没有将response路由放到session路由群组中,是可以传参的。这是我的博客,里边有说明https://blog.csdn.net/self_realian
2018-04-08
将老师讲的表单验证篇全部写完了,想要看效果的可以看下面的git.&& Welcome you to star!
https://github.com/encountergong/easy-study-Laravel-form
https://github.com/encountergong/easy-study-Laravel-form
2018-04-06