I am using Dreamweaver mx 2004, php and MYSQL:

When I insert recordet Navigation bar in dreamweaver the 'Next' and 'Previous' Text do not seem to work with my recordset.
The following PHP Code exists for the 'Previous' Text (for recordset 'Test2')

<?php if ($pageNum_Test2 > 0) { // Show if not first page ?>
Previous
<?php } // Show if not first page ?>

The following code exists for the 'Next' Text for the same recordset:

<?php if ($pageNum_Test2 < $totalPages_Test2) { // Show if not last page ?>
Next
<?php } // Show if not last page ?>

Please help !