= 128) then statusMessage = "Can't add configuration to this table. Maximum limit reached." NextPage = "routing" end end web.goToPage(NextPage, true, true) elseif (ButtonType and ButtonType == "delete") then local field, splitted, rows = web.cgiSearch(cgi, "route") -- if any rows to delete if (rows) then errorFlag, statusMessage = iproute.deleteRoute(rows) end -- save db if no error if (errorFlag == "OK") then db.save() end web.goToPage(NextPage, true, true) else ?>