print '0' instead of '' if result count < SelectNumRows

This commit is contained in:
Steve Alberty
2001-07-16 13:47:08 +00:00
parent c2bb2c3eae
commit a4d1254c3a
2 changed files with 6 additions and 1 deletions

View File

@@ -67,7 +67,7 @@ function show_table_navigation($pos_next, $pos_prev, $dt_result) {
>
<input type="text" name="sessionMaxRows" size="3" value="<?php echo $sessionMaxRows ; ?>">
<?php echo $strRowsFrom ?> <input name="pos" type="text" size="3"
value="<?php echo ( $pos_next >= $SelectNumRows ? '' : $pos_next ) ; ?>">
value="<?php echo ( $pos_next >= $SelectNumRows ? '0' : $pos_next ) ; ?>">
</form>
</td></tr></table>
</td>