Hello, I have PHP script which creates list of jobs with rows and columns. I want to add auto number column for this table, created column and added $pos++ but doesn't seems like it is working cause when clicking on next pages it start again the number from 1. Here is the link http://afghanjobs.org/all_jobs_result/ complete code is attached. View attachment code.txt
Look to code. I have jobs list that shows all active jobs on page in columns and rows. I want to add another column for rows to show Auto number. I created column but how to add auto number function.
So you need to replace the simplying putting the possition to the possition + (page size x (the page number -1))