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:
@ -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>
|
||||
|
Reference in New Issue
Block a user