adilmarwat Posted December 3, 2009 Report Share Posted December 3, 2009 I have maysql database name "prj" contains table "inf" with fields id, name. i have display the id and name information from mysql database.Now i want to add the serial number that start from 1 and ends with the total record found.likeS# id name1 4 Aziz2 5 Ali....10 23 Javed11 29 Ghafoor.Please help me in this regard. thanks. Link to comment Share on other sites More sharing options...
jlhaslip Posted December 3, 2009 Report Share Posted December 3, 2009 make a ser_num that is AUTO_INCREMENT type Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now