<%
'Processing received page parameters. The displayed page number is the first page by default.
The 'page parameter is used to display the first value of the variable pagenum: 0.
If request ("page") = "" then
Pagenum = 0
'Below is the page parameters.
Else
Pagenum = request ("page ")
If not isnumeric (pagenum) then
Call DH. Alert ("Operation error! ","-1 ")
Else
Pagenum = clng (pagenum)
End if
End if %>
<%
'The key here is to assign your content field to contentstr.
Contentstr = Replace (RS ("dhsl_content"), "|", "| ")
%>
<%
'Use the function splist to retrieve segments and store them in contentstr.
Contentstr = Split (contentstr, "| ")
'Below is the page variable obtained by the URL
For I = pagenum to pagenum
%>
'Then display the content
<% = Contentstr (I) %>
<% Next %>
BenArticleDivided:
<%
For p = 0 to ubound (contentstr)
%>
<A href = "Content Page name. asp? Passed parameter = <% = request ("accepted parameter ") %> & page = <% = P %> "class =" text "> <% = P + 1%> </a>
<% Next %> page