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中會(huì)自動(dòng)加載web中間件重寫了session,清空了flash設(shè)置的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取舊值,補(bǔ)充
<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
報(bào)這個(gè)
TokenMismatchException in VerifyCsrfToken.php line 67:
TokenMismatchException in VerifyCsrfToken.php line 67:
2018-04-09
關(guān)于with傳參問題,我發(fā)現(xiàn)那個(gè)函數(shù)名必須是response,如果不是,就沒法傳過去。還有就是,我沒有將response路由放到session路由群組中,是可以傳參的。這是我的博客,里邊有說明https://blog.csdn.net/self_realian
2018-04-08
記得在上邊導(dǎo)入這個(gè)
use Illuminate\Support\Facades\Session;
踢我上去
use Illuminate\Support\Facades\Session;
踢我上去
2018-04-08
將老師講的表單驗(yàn)證篇全部寫完了,想要看效果的可以看下面的git.&& Welcome you to star!
https://github.com/encountergong/easy-study-Laravel-form
https://github.com/encountergong/easy-study-Laravel-form
2018-04-06