I have a dynamic table which has 2 dynamic rows .i.e students and their subjects and marks. The code is below :

**Click here to view the code **

Everything is working fine except, the serial numbers are not generated dynamically! I need to generate a running serial for each row that is added. Where could I have possibly gone wrong? Would appreciate any help/ suggestions! :)

the record number in the database IS a serial number,

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.