Use PHP 7.0 is must.
Download URL:
https://www.filehorse.com/download-php-64/42755/
Reference:
Windows 10 透過區網抓不到NAS解決方案,更改SMB支援立即解決
https://iqmore.tw/windows-10-nas-smb-1-problem-solving
完整備份:(t為資料庫名)
Mysql -uroot -pPassword t -e “FLUSH TABLES”; // 關閉所有開啟的表, 把記憶體中的快取寫入磁碟
Mysql -uroot -pPassword t -e “FLUSH TABLES WITH READ LOCK”; // 關閉所有開啟的表, 加只讀鎖, 防止新的寫入操作
MysqlAdmin -uroot -pPassword flush-logs // 生成新的二進位制日誌檔案和下面的備份時間保持同步, 以後對資料庫的操作都會記錄這個檔案中
mysqldump -uroot -pPassword t > t.sql // 完整備份
Reference:
diskpart
list disk
select disk 3
clean
convert mbr //Convert to mbr
Change to bundle version:
https://getbootstrap.com/docs/4.5/getting-started/introduction/#bundle
Don’t include popper.js seperatedly.
Eloquent Example
$honor = AchievementM::wherenotNull('id')
->orderBy('sort_order', 'asc')
->paginate(1);
HTML
@php
$class = '';
if($honor->onFirstPage() == true){
$class = '-disable';
}
@endphp
<a href="{{ $honor->previousPageUrl() }}" class="btn -btn-lg {{ $class }}">上一頁</a>
@php
$class = '';
if($honor->hasMorePages() == false){
$class = '-disable';
}
@endphp
<a href="{{ $honor->nextPageUrl() }}" class="btn -btn-lg {{ $class }}">下一頁</a>
Common Functions
lastPage();
//Number of last page
count()
; //Item count of this page
total()
; //Item count of all items
previousPageUrl()
nextPageUrl()
onFirstPage()
hasMorePages()
hasPages()
perPage()
//Page size
items()
Reference:
Reference: