$WBURL - generate navigation url

Availability
QUERY command.

Syntax
$WBURL{URLType}
$WBURL[URLType]

Parameters
URLType - two-letter code describing required navigation link URL. Valid values are:
PP – previous page
NP – next page
FP – first page
LP – last page

Returns
URL of required navigation link.

Example

[FormFields]
WB_basename=biblio.mdb
wb_rcdset=titles
wb_command=Q
wb_maxrec=5
-->
<!--WB_BeginTemplate-->
<html>
<head>
<title>Titles</title>
</head>
<body>
<table border="1" cellspacing="0">
<tr>
<td>Year published</td>
<td>Title</td>
<td>ISBN</td>
</tr>
<!--WB_BeginDetail-->
<tr>
<td>$wbf[Year published]</td>
<td>$wbf[title]</td>
<td>$wbf[ISBN]</td>
</tr>
<!--WB_EndDetail-->
</table>
<center>
<a href="$WBURL[PP]&Lng=$wbv[lng]">Previous page</a> <a href="$WBURL[NP]&Lng=$wbv[lng]">Next page</a>
</center>
</body>
</html> 
 

After running this example, the resulting HTML code (part that includes generated navigation links), actually received by browser, may look like this:

<center>
<ahref="/wbsp/basic/wburl.wbsp?wb_mq=F&WB_StartRec=6&Lng= eng">Previouspage</a><ahref="/wbsp/basic/wburl.wbsp?wb_mq=F&WB_StartRec=16&Lng=eng">Next page</a>
</center>