I want to auto increment serial number of result fetched from query on page like 1,2,3......
Below is my piece of code:
<td><font size="-1"><?php echo $++i ?> </font></td><td><font size="-1">
Now <?php echo $++i ?>
fetches actual row id which is 17,18 of a table.
i want just simple value 1,2,3...so on