1
0
mirror of https://github.com/lxsang/antd-web-apps synced 2025-07-17 06:09:50 +02:00

add pagination

This commit is contained in:
Xuan Sang LE
2018-03-07 14:18:25 +01:00
parent d128641998
commit 68284a215d
8 changed files with 98 additions and 15 deletions

View File

@ -18,8 +18,8 @@
if db == nil then die("cannot get db data") end
local data, a = db:getAll()
db:close()
if data == nil or data[0] == nil then die("Cannot fetch user info") end
data = data[0]
if data == nil or data[1] == nil then die("Cannot fetch user info") end
data = data[1]
?>
<html>
<head>