adilmarwat Posted March 5, 2010 Share Posted March 5, 2010 I have data in mysql table named "act" contains three fields roll, name, marksI want to sirialize that data by 1, 2, 3 .like thatS# Rll# Name Mark1 58 Cris 522 65 Smith 63How it is possible please help? Adil Link to comment Share on other sites More sharing options...
thescientist Posted March 5, 2010 Share Posted March 5, 2010 are you thinking of using auto increment on an ID field that's set as the primary key? So that each new record is added after the old one and would count up as they're added, i.e. 0, 1, 2, 3, etc? Link to comment Share on other sites More sharing options...
adilmarwat Posted March 5, 2010 Author Share Posted March 5, 2010 no dear, just to serial the record Link to comment Share on other sites More sharing options...
thescientist Posted March 5, 2010 Share Posted March 5, 2010 is there any particular order to how they are supposed to come out? Or are you merely looking to add incrementing numbers for them as they're returned and displayed to the page? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.