Thanks Tim.
The Last syntax works.
This is what I have for Next
if ($FORM{'next'})
{
$next = $FORM{'TNum'};
$sth=$dbh->query("SELECT * FROM Tickets LIMIT @{[$next + 1]}, 1");
&Display
}
When I print $next before the query it holds the current TicketNumber.
Although, I am sure the syntax for the query is incorrect.
Regards,
Kevin P. O'Brien, MCP, CPST <kevino@stripped>
Systems Administration
Irenyx Data Group, Inc.
(Office) 1.250.334.9641 ext.239
(Fax) 1.250.334.2365
(Pager) 1.888.805.3820
(Toll Free) 1.800.275.4260 ext.239
PGP Public Key Fingerprint: 56C4 2F8C 5731 08C1 684D 05DC 05E5 697F