mySQL
使用 SeidiSQl 連接 XAMPP,選使用者出現錯誤
1030 - Got error 176 “Read page with wrong checksum” from storage engine Aria
- 發現是執行 FLUSH PRIVILEGES; 出錯
- 開啟 phpmyadmin
- 選 mysql database
- 點選 全選, 再選擇 修復資料表, 修復完即 ok
000webhost
1 2 3 4 5
| header('Location: index.php');
php_value output_buffering 1
|
A non-numeric value encountered in …
1 2 3 4 5
| echo '<a href="index.php?page=' . $page+1 . '">下一頁</a>' ;
echo '<a href="index.php?page=' . strval($page+1) . '">下一頁</a>' ;
|
Field ‘deleted’ doesn’t have a default value
1 2 3 4 5 6
| insert into comment(username, content) values('aa', 'i am here')
select * from comment where deleted=0 or deleted is NULL
|